Get tileset info
get_tileset_infoInspect a tileset's sheet assignments, tile ID ranges, autotile types, positions, and passability so you can choose which tiles to paint. Pass a sheet for detailed grid data or tile IDs to decode flags.
Instructions
Describe a tileset so you can choose tiles to paint: which image is assigned to each sheet (A1-A5, B-E), the tile id ranges, and for autotile sheets every kind with its type, position on the sheet image and passability. Without sheet you get an overview; pass sheet for the detail of one sheet (for A5/B-E that includes a passability grid laid out like the image: o passable, x blocked, * drawn above characters, p partly blocked). Use get_tileset_image to see what the tiles look like. tileIds decodes passability and terrain flags for specific tile ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | Return the detail of one sheet | |
| tileIds | No | ||
| tilesetId | Yes | Tileset id (a map's tilesetId, see get_map) |