scene-get-editable-tilemap-layer-selection-data
Retrieves tile IDs from a selected rectangular region of an editable tilemap layer, returning them as a 2D array.
Instructions
Get the selected tile data of an editable tilemap layer. It returns a 2D array with the tile IDs. The selection is always a rectangular region of the tilemap layer.
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`. |