create_slice
Create a named rectangular region (slice) in an Aseprite file by setting its position, size, and name for game engine use.
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 |