krita_create_transparency_mask
Create a transparency mask for a paint or group layer from the current selection or canvas opacity, preserving the existing selection. Use operation_id to retry safely.
Instructions
Attach a transparency mask to an explicit paint/group layer, using a copy of the selection or constant canvas opacity. Preserves the canvas selection. Reuse operation_id on retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| source | Yes | ||
| node_id | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes |