krita_move_layer
Reorder paint layers or groups within a Krita document. Specify a target sibling to insert above, changing stacking order without moving pixels. Prevents cycles and locked or animated subtrees.
Instructions
Reorder a paint layer or group within its document; rejects cycles and locked/animated subtrees. Omitted parent means document root; above_node_id selects a sibling to insert above. Changes stacking order without translating pixels. No guaranteed undo transaction. Reuse operation_id on retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes | ||
| above_node_id | No | ||
| parent_node_id | No |