The y position of the instance in the physics world.


GML Code Example


Returns: Real


This variable can be used to get (or to set) the y position of the instance within the game room physics world. Please note that the physics world may present errors when instances are moved by directly setting this variable as it will interrupt the continuous simulation.


GML Code Example

xx = phy_position_x;
 yy = phy_position_y;

The above code stores the instance x and y position in two variables.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here