tmSetTileValue

Category: Tilemap

Syntax:

tmSetTileValue:Void(tileset:Int, id:Int, value:Int)


Parameters

Returns

Void



Summary

Sets a spare number on a tile, for damage, friction or anything else.

Takes tileset (The tileset's handle), id (The tile id. 0 is empty, and ids from 1 are the tiles in the tileset), value (The number).

Returns nothing.

View detailed documentation online



Example
tmSetTileValue(tiles, 9, 25)

BambooBasic © 2026 Michael Denathorn