GenGetSpriteTile()


tile = GenGetSpriteTile(sprite)

Returns the sprite's current tile index. The tile index points to a single tile within a tileset. This is the tile that the sprite is currently displaying. The first tile in a tileset is 1.


Game Engine Overview







Become a Patron