clear_region
Clear a region of pixels by setting them to transparent. Supports rectangular areas, pixel lists, or saved selections.
Instructions
Set every pixel in a region to transparent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | Silently discard out-of-bounds pixels instead of rejecting (default false) | |
| frame | No | Frame index, 0-based (default: active frame) | |
| layer | No | Layer id or name (default: active layer) | |
| doc_id | Yes | Document id | |
| region | Yes | Region: exactly one of 'rect', 'pixels', or 'selection' | |
| render | No | Include a render of the change (default true) | |
| ignore_symmetry | No | Skip symmetry mirroring for this call (default false) |