Category: Tilemap — Map shapes
Syntax:
tmTileXAt:Int(map:Int, worldX:Int, worldY:Int)
The column. It can be outside the map.
Gets the column of the cell at a world position, on any shape of map. Use it with the mouse.
See the Tilemaps guide.
cx = tmTileXAt(map, camX + inpGetMouseX(), camY + inpGetMouseY())
BambooBasic © 2026 Michael Denathorn