tmSetTileValue

Category: Tilemap — Tilesets

Syntax:

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


Parameters

Returns

Nothing.



Summary

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

See the Tilemaps guide.



Example
tmSetTileValue(tiles, 9, 25)

BambooBasic © 2026 Michael Denathorn