tmTilesetCreateBlank

Category: Tilemap — Tilesets

Syntax:

tmTilesetCreateBlank:Int(count:Int, tileW:Int, tileH:Int)


Parameters

Returns

The tileset's handle, or 0 if a size isn't valid.



Summary

Makes a tileset with no image, for a hidden layer that only holds shapes. Give each id a mask with tmSetTileMask.

See the Tilemaps guide.



Example
shapes = tmTilesetCreateBlank(64, 16, 16)

BambooBasic © 2026 Michael Denathorn