Jump To Start


This action is used to move an instance from its current position to the position where it was originally created. The original position where an instance is created is stored in two instance variables called xstart and ystart. These variables can be used in any other action and can also be set to change the recorded start position.

Action Syntax:

Jump To Start Syntax


Jump To Start Example
The above action block code checks to see if the top of the instances bounding box is below the room height and if it is it moves the instance back to the position it was created at.