layer_reorder
Move a layer to a specific index to change its drawing order. Specify layer ID and target position to reorder layers in the tree.
Instructions
Move a layer to a new position among its siblings in the layer tree.
position is a 0-based index (0 = top of the tree, drawn above the
others). Does not move a layer into or out of a group - group support is
planned but not yet implemented.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes | ||
| position | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||