set_sprite_properties
Modify Aseprite sprite metadata such as filename, user data, tab color, transparent color index, pixel ratio, grid bounds, custom properties, and color space, then save changes to the file.
Instructions
Changes sprite metadata: filename, user data, tab color, transparent color index, pixel ratio, grid bounds, user properties, color space.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| color | No | '#rrggbb', '#rrggbbaa', a name, a palette index, or {r,g,b,a} / {h,s,v,a} / {h,s,l,a} / {gray,a} | |
| 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 | |
| filename | No | ||
| colorSpace | No | ||
| gridBounds | No | ||
| pixelRatio | No | ||
| properties | No | User-defined properties to set (object.properties) | |
| useLayerUuids | No | ||
| transparentColor | No | ||
| convertColorSpace | No | Convert pixels instead of only assigning the color space |