erase_pixels
Erase pixel coordinates by setting them transparent (#00000000) in a single undo step; optionally target a layer and frame.
Instructions
Erases a list of pixel coordinates by turning them transparent (#00000000) within a single undo transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | List of (x, y) pixel coordinates to erase | |
| layerName | No | Optional target layer name | |
| layerIndex | No | Optional target layer index | |
| frameNumber | No | Target frame number (1-indexed) | |
| returnPreview | No | When true, returns updated preview image |