Category: Tilemap
Syntax:
tmRowAt:Int(map:Int, worldX:Int, worldY:Int)
Int
Gets the row to draw a sprite after, from the world position of its feet. Off the map it gives the nearest row.
Takes map (The map's handle), worldX (The world x position, in pixels), worldY (The world y position, in pixels).
Returns: The row.
View detailed documentation online
r = tmRowAt(map, footX, footY)
BambooBasic © 2026 Michael Denathorn