add a parameter to an object

Hello,
I need your help please.
Here I would like to add a parameter has a model to be able to open or close a door with a limit. But I have no idea how.
Can you point me to a solution?
Thank you for your answers, cordially.


parametre.jpg
545 x 485 - 53K


open.jpg
900 x 900 - 181K


close.jpg
900 x 900 - 177K
Comments
It's a little hard to follow your screen shots, but if it's just a standard transform or a morph click the gear icon on the slider, from the menu click Parameter Settings, and in the dialogue check Respect Limits and set the desired minimum and maximum values.
Thank you but I have wanted to add like this
Click the gear and open properties, there you can set the min/max values as well as the label for the parameter (should read "door" right now, just change it to "Open Close" or "Open-Close" or however you want to label it.
Thank you very much it's ok