tmTilesetCount

Category: Tilemap — Tilesets

Syntax:

tmTilesetCount:Int(tileset:Int)


Parameters

Returns

The number of tiles.



Summary

Counts the tiles in a tileset. On the web it is 0 until the image has arrived.

See the Tilemaps guide.



Example
n = tmTilesetCount(tiles)

BambooBasic © 2026 Michael Denathorn