Category: Tilemap
Syntax:
tmGetTile:Int(map:Int, layer:Int, x:Int, y:Int)
Int
Gets the tile in a cell.
Takes map (The map's handle), layer (The layer's number, from tmAddLayer or tmGetLayer), x (The tile column, from 0), y (The tile row, from 0).
Returns: The tile id, or 0 if empty or outside the map.
View detailed documentation online
id = tmGetTile(map, ground, 5, 10)
BambooBasic © 2026 Michael Denathorn