Set parent
cavalry_set_parentParent a layer under another layer or group; use a null parentId to unparent it and move the layer to the top level.
Instructions
Parent a layer under another layer (e.g. a group), or pass parentId null to un-parent it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Cavalry layer id, e.g. "basicShape#1". Use cavalry_list_layers to find ids. | |
| parentId | Yes | New parent layer id, or null to move to the top level. |