draw_brush
Stamp a custom brush shape at defined points in an Aseprite sprite. Specify brush pattern as character rows, positions, color, and anchor offset.
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 | ||
| layer | No | ||
| anchor | No | center | |
| points | Yes | ||
| filename | Yes |