Just need simple help with a button and a Servo

Hi, I'm very new at this, and I am trying to controll a servo with a button pulse, but I can't get it to work.
What I'm aiming for is to turn on the servo with a button pulse, and keep it on even if I'm not pressing the button anymore (I have been able to turn it on based on the button status).

Maybe if I can start an action based on the pulse, not the status, that would be really helpful! (It means I could start a chain of actions from that one pulse)

I know this is very simple, but haven't been able to figure it out, any help you can give is apreciated.

What I'm aiming for is to turn on the servo with a button pulse, and keep it on even if I'm not pressing the button anymore (I have been able to turn it on based on the button status).

The "turn on the servo" is not very clear as to what you expect. You could have a if statement that checks for a button press, and if one is detected, then attach the servo at that point in the code.

If you already have something, why is your code not posted here? And please use code tags when you post...

You need a variable to record the state of the servo ('N' or 'F' for on or off). Pressing the button changes the variable value. The servo moves to the position determined by the value of the variable.

...R