xstart (Game Maker)

xstart

( Game Maker 6.1, 7 )

xstart - the starting x location of an instance.

Description

xstart is set when an instance is created as the starting x 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

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