Category: Tilemap — Map shapes
Syntax:
tmTileYAt:Int(map:Int, worldX:Int, worldY:Int)
The cell's y. It can be outside the map.
Gets the row number of the cell at a world position, on any shape of map. This is the cell's y, not the drawing row that tmRowAt gives.
See the Tilemaps guide.
cy = tmTileYAt(map, camX + inpGetMouseX(), camY + inpGetMouseY())
BambooBasic © 2026 Michael Denathorn