API Reference › Sprite › Sprite.cell
method

Sprite.cell

Sprite.cell(sheet, col, row) -> int

Returns a sprite id for the cell at column col, row row of sheet (the sub-rect (col*cellw, row*cellh, cellw, cellh)). Draw it with Sprite.draw.

← All symbols