GenSetSpritePivotXY


GenSetSpritePivotXY sprite, x, y

sprite

Game Engine sprite object to set.

x

The x screen coordinate to position the sprite's X pivot point over.

y

The y screen coordinate to position the sprite's y pivot point over.


This command positions a sprite so that it's pivot point is positioned over the given screen x and y coordinates.


Game Engine Overview







Become a Patron