scene-add-tileset-to-editable-tilemap
Adds a tileset to an editable tilemap, automatically updating tile IDs across all layers.
Instructions
Add a tileset to an editable tilemap. This will add the tileset to the tilemap data, but it will not add the tileset asset itself. It also will update the ID of the tiles of every layer in the map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | The `id` of the scene. The `id` is not the name of the scene, else a unique identifier is set in the scene data. You need to read the scene data to get the `id`. | |
| tileset | Yes | ||
| tilemapId | Yes | The `id` of the editable tilemap to add the tileset to. |