create_slice
Define a named rectangular slice in an Aseprite file to mark sprite regions that game engines can use for animations, tiles, or UI.
Instructions
Create a named slice (a rectangular region usable by game engines).
Args: filename: Aseprite file to modify name: Slice name x: Left edge of the slice y: Top edge of the slice width: Slice width height: Slice height
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | Yes | ||
| width | Yes | ||
| height | Yes | ||
| filename | Yes |