Update variable while running if statement

So, move the joystick forward, and the actuator follows. Move the joystick back, and the servo does not follow. Move the joystick forward again, and the actuator extends more. Is THAT what you want?