src code

instance property Sprite#spriteX

Sprite#spriteX → Number

The X coordinate of the sprite to use from the spriteset. The units are whole Sprite widths. So to use the 3rd sprite across on the spriteset, set this value to 3.