layer_setTransform
Set a layer's translation, rotation, and scale at a specified animation frame, changing only the transform properties you provide.
Instructions
Set the transform (translation, rotation, scale) of a layer at a specific frame. All transform params are optional — only supplied values are changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | The frame number to set the keyframe at | |
| scaleX | No | Layer X scale | |
| scaleY | No | Layer Y scale | |
| transX | No | Layer X translation | |
| transY | No | Layer Y translation | |
| layerId | Yes | The numeric ID of the layer | |
| rotation | No | Layer rotation in radians |