Stop object and move again

Hi all! I am having an issue of allowing the object to move again after it had stop moving. I want the object to stop moving and when clicking a button, the object eill start moving at the same speed. I am able to stop its movement but after clicking the a button the object does not move.

1 Like

Try use a variable
moving = 0
Buttonpress : add 1 to variable moving

Var moving > 1 : moving = 0
Var moving == 1: add permanent force
Var moving ==0: stop object

1 Like

Ok thank you i’ll try it.