Update variable while running if statement

Robin2:
Does that mean that you can move the joystick to a new position but nothing actually happens until a button is pressed?

No, only limit movement in the reverse direction, from a previously extended position. Further extension is not limited. To retract, the user simply presses the button, and then moves the joystick backwards.