Get Sprite Scale


scaleX = GenGetSpriteScaleX(sprite)

scaleY = GenGetSpriteScaleY(sprite)

These functions return the X and Y scale of the sprite. The X axis and Y axis of a sprite may be independently scaled.


Game Engine Overview







Become a Patron