convert_layer
Change an Aseprite layer between Background, normal, image, and tilemap types so it renders and edits as needed.
Instructions
Converts a layer: to a Background layer, from Background to a normal layer, or between image and tilemap layers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| layer | No | Layer name, 'Group/Child' path, or 1-based index from get_sprite_info. Defaults to the active layer. | |
| sprite | No | File path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path. | |
| backend | No | auto (default): live Aseprite if connected, else headless batch |