Category: Tilemap
Syntax:
tmGetTileValue:Int(tileset:Int, id:Int)
Int
Gets a tile's spare number.
Takes tileset (The tileset's handle), id (The tile id. 0 is empty, and ids from 1 are the tiles in the tileset).
Returns: The number, 0 if none was set.
View detailed documentation online
damage = tmGetTileValue(tiles, id)
BambooBasic © 2026 Michael Denathorn