tmRowAt

Category: Tilemap — Drawing

Syntax:

tmRowAt:Int(map:Int, worldX:Int, worldY:Int)


Parameters

Returns

The row.



Summary

Gets the row to draw a sprite after, from the world position of its feet. Off the map it gives the nearest row.

See the Tilemaps guide.



Example
r = tmRowAt(map, footX, footY)

BambooBasic © 2026 Michael Denathorn