flood_fill
Recolor pixels matching a seed color in a pixel art document. Use contiguous mode to limit fill to connected areas only.
Instructions
Flood fill from a seed pixel. contiguous=false recolors every pixel that matches the seed color.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| clip | No | Silently discard out-of-bounds pixels instead of rejecting (default false) | |
| frame | No | Frame index, 0-based (default: active frame) | |
| index | Yes | Palette index | |
| layer | No | Layer id or name (default: active layer) | |
| doc_id | Yes | Document id | |
| render | No | Include a render of the change (default true) | |
| contiguous | No | Default true | |
| ignore_symmetry | No | Skip symmetry mirroring for this call (default false) |