Returns the Y position of a specified stage marker. Will return -1 if the marker is not found.
Argument | Type | Description |
---|---|---|
index | :real | The index of the stage marker to find. |
Example, called from a stage’s article1_update.gml:
//This code will destroy the article as soon as it goes below the specified marker.
if ( y >= get_marker_y( 6 ) ) {
instance_destroy();
}