flood_fill
Fill connected pixels on the design layer from an (x,y) coordinate with a specified color. Use it to recolor enclosed regions of a pixel character; large fills generate a warning instead of altering the silhouette.
Instructions
Flood-fill connected pixels on the design layer from (x,y).
Optional. Do NOT flood the entire body silhouette as the sole outfit design — prefer fill_rect / paint_pixels / paint_from_commands for shapes. Large fills return a warning field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | Yes | ||
| slot | Yes | ||
| color | Yes | ||
| scale | No | ||
| plan_id | No | ||
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||