create_slice
Create a named rectangular region in an Aseprite file for use as a slice in game engines.
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 |
|---|---|---|---|
| filename | Yes | ||
| name | Yes | ||
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes |