crop_sprite
Crop an Aseprite canvas to a specific x, y, width, and height rectangle. Use it to trim or enlarge the canvas for pixel art and animation edits.
Instructions
Crop the canvas to the rectangle (x, y, width, height).
The resulting canvas is subject to the same dimension/area caps as `create_sprite`
(a "crop" to a larger rectangle grows the canvas).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| filename | Yes |