copy_region
Copy a specific area of pixel art into a named stamp for later pasting.
Instructions
Copy a region into a named stamp for later paste_stamp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| 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' |