src code

instance property Sprite#spriteY

Sprite#spriteY → Number

The Y coordinate of the sprite to use from the spriteset. The units are whole Sprite heights. So to use the 4th sprite down on the spriteset, set this value to 4.