Duplicate layer
cavalry_duplicate_layerDuplicate an existing Cavalry layer by its id and return the new layer ids. Optionally copy input connections to preserve wiring.
Instructions
Duplicate a layer. Returns the ids of the newly created layers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Cavalry layer id, e.g. "basicShape#1". Use cavalry_list_layers to find ids. | |
| withInputConnections | No | Also duplicate input connections. Defaults to false. |