draw_brush
Stamp a custom brush shape at specified points on an Aseprite sprite. Define the brush as character rows, then apply it with a color to create pixel art patterns.
Instructions
Stamp a custom brush shape at a list of points.
Args:
brush: The brush as rows of characters. Any character other than space,
'.', or '0' is a filled cell. e.g. a plus brush: ["010", "111", "010"].
points: Positions to stamp at, list of {"x": int, "y": int}.
color: Colour to stamp the brush in.
anchor: "center" (default) or "topleft", where each point sits in the brush.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brush | Yes | ||
| color | Yes | ||
| frame | No | Default: 1. | |
| layer | No | ||
| anchor | No | Default: "center". | center |
| points | Yes | ||
| filename | Yes |