tmTilesetCount

Category: Tilemap

Syntax:

tmTilesetCount:Int(tileset:Int)


Parameters

Returns

Int



Summary

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

Takes tileset (The tileset's handle).

Returns: The number of tiles.

View detailed documentation online



Example
n = tmTilesetCount(tiles)

BambooBasic © 2026 Michael Denathorn