cavalry_get_attribute
Retrieve the value of a specified attribute from a Cavalry layer, such as position.x or fontSize. Enables accessing layer properties for animation automation.
Instructions
Read the value of an attribute from a Cavalry layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | The layer ID | |
| attrPath | Yes | The attribute path, e.g. "position.x", "fontSize" |