cavalry_get_attribute
Retrieve a specific attribute value from a layer in Cavalry scenes, using a layer ID and attribute path.
Instructions
Read an attribute value from a layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Layer ID (e.g. 'textShape#1') | |
| attrPath | Yes | Attribute path (e.g. 'position.x', 'fontSize') |