tileset
Manage Aseprite tile sets: list, add, update, or delete sets and tiles, and read or write tile pixel data.
Instructions
Tileset operations: list, add (tileSize, count), update (name, baseIndex, data), delete, add_tile, delete_tile, get_tile (pixels as rows+legend), set_tile (rows+legend or an image file). Tile index 0 is the empty tile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| file | No | ||
| name | No | ||
| rows | No | ||
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| count | No | ||
| index | No | Tile index | |
| action | Yes | ||
| legend | No | ||
| 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 | |
| tileset | No | Tileset index (1-based), name, or a tilemap layer | |
| tileSize | No | ||
| baseIndex | No | ||
| properties | No | User-defined properties to set (object.properties) |