Ystart

Explanation
The ystart variable is a local variable that contains the starting y|y position of an object in the room.

Example
//this code would be placed in the step event or collision with enemy //event because that would be when it needs to check if you health is //out if ( < 1) {  = ;   = ;   = 100; } Note that this is not a read only variable, it can be changed: //for a checkpoint xstart = checkpoint.; ystart = checkpoint.; = xstart; = ystart;