Category: Tilemap — Queries
Syntax:
tmTileAt:Int(map:Int, layer:Int, worldX:Int, worldY:Int)
The tile id, or 0 if empty or outside the map.
Gets the tile at a world position, on any shape of map.
See the Tilemaps guide.
id = tmTileAt(map, ground, px, py)
BambooBasic © 2026 Michael Denathorn