Sprite X Scale

Gets the x scale of a sprite.


scale = Sprite X Scale (spriteID)


The x scale of a sprite controls the width of the sprite.

spriteID is the number of the sprite.

scale is the scale adjustment the sprite. This value is a floating point mutliplier so if you pass 2 it will double the width of the sprite, if you pass 0.5 it will half the width of the sprite.

Table of contents