ystart (Game Maker)

ystart

( Game Maker 6.1, 7 )

ystart - the starting y location of an instance.

Description

ystart is set when an instance is created as the starting y location of the instance.

Examples

The code in this example will set an instance back to its starting location.

x = xstart;
y = ystart;

Related Pages

Variables

  • xstart - an instance's starting x location.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.