fill_area
Flood fill a pixel art area from a specified point using Aseprite's paint bucket. Supports color hex, tolerance, and contiguous mode.
Instructions
Flood fill an area starting from a point using Aseprite's native paint bucket tool
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Sprite file | |
| layerName | No | Target layer name | |
| frameNumber | No | Frame number (1-indexed, default: 1) | |
| x | Yes | X coordinate of the fill starting point | |
| y | Yes | Y coordinate of the fill starting point | |
| color | Yes | Fill color as hex string (#RRGGBB), palette index, or {r,g,b,a} | |
| tolerance | No | Color tolerance for flood fill (0-255, default: 0) | |
| contiguous | No | Only fill contiguous pixels (default: true). If false, fills all matching pixels. | |
| savePath | No | Path to save |