GenSetSpriteScaleX


GenSetSpriteScaleX sprite, scaleX

sprite

The sprite to set.

scaleX

The sprite's new x scale.


This command set the sprite's X scale. The X and Y axis may be scaled independently. The scale factors are in the range of 0.0 - 1.0+ By default the scale is 1.0.


Game Engine Overview







Become a Patron