Hi I created my variable set to True. I want to be able to loop through this event until the player reaches another location and then I set variable to false ending the loop.
How do I create this correctly?
Develop games in your browser. Powerful, performant & highly capable.
You can put a sprite with opacity = 0 at your destination.
(example: the object at destination is Dest_B)
And this is the loop :
If isMoving = true : Sprite move from A to B
--(Sub-event)--When collision with Dest_B : Set isMoving = false
Is this what your need?