run_lua
Execute Aseprite Lua scripts to automate sprite edits, animation tasks, and exports; pass a file path, parameters, and control whether changes are saved.
Instructions
Run Aseprite Lua (API 1.3). Globals: sprite (from path), params. Returns the script's return value. Saves unless save=false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| path | No | ||
| save | No | ||
| params | No |