Category: Tilemap — Layers
Syntax:
tmLayerCount:Int(map:Int)
The number of layers.
Counts a map's layers. Object layers and image layers from Tiled count too.
See the Tilemaps guide.
n = tmLayerCount(map)
BambooBasic © 2026 Michael Denathorn