draw_isometric_box
Draw a 2:1 isometric box with top, left, and right faces in Aseprite, enabling consistent isometric shapes for pixel-art scenes.
Instructions
Draw a 2:1 isometric box: a top face over a left and a right side face.
(x, y) is the top corner of the top face, the point where pixel (x, y)'s top-left corner is; the two topmost pixels are (x - 1, y) and (x, y). From there the top face runs w tiles down-right and d tiles down-left, each tile step moving 2 px sideways and 1 px down. The left face hangs h px below the lower-left edge (2w px wide), the right face below the lower-right edge (2d px wide). The box covers columns x - 2d .. x + 2w - 1 and rows y .. y + w + d + h - 1. A pixel belongs to the face that contains its centre, so faces never overlap and leave no gaps. outline paints the pixels just outside the box (left, right, above, below). Pixels off the canvas are skipped and counted; painted includes the outline.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"x": "<x>",
"y": "<y>",
"w": "<w>",
"d": "<d>",
"h": "<h>",
"top": "<top>",
"left": "<left>",
"right": "<right>"
},
"name": "draw_isometric_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| d | Yes | Tiles along the left-going axis | |
| h | Yes | Height of the side faces in pixels | |
| w | Yes | Tiles along the right-going axis | |
| x | Yes | x of the top corner of the top face | |
| y | Yes | y of the top corner of the top face | |
| top | Yes | '#RRGGBB', '#RRGGBBAA' or 'transparent' | |
| left | Yes | '#RRGGBB', '#RRGGBBAA' or 'transparent' | |
| path | Yes | Sprite file. Relative paths resolve against the server root. | |
| blend | No | false: pixels get exactly this colour (transparent erases, except on a background layer, which ignores alpha); true: the colour is alpha-blended over what is there | |
| frame | No | 1-based frame number | |
| layer | No | Layer name or 'group/child' path; empty = the bottom-most normal layer | |
| right | Yes | '#RRGGBB', '#RRGGBBAA' or 'transparent' | |
| outline | No | Colour for a 1-pixel ring around the box | |
| create_cel | No | Add an empty cel when the layer has none in that frame |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||