bone_setTransform
Set a bone's angle, position, or scale at a chosen frame, auto-creating keyframes and applying only the provided transform values.
Instructions
Set the transform (angle, position, scale) of a bone at a specific frame. Creates keyframes automatically. All transform params (angle, posX, posY, scale) are optional — only supplied values are changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posX | No | Bone X position | |
| posY | No | Bone Y position | |
| angle | No | Bone rotation in radians | |
| frame | Yes | The frame number to set the keyframe at | |
| scale | No | Bone scale factor | |
| boneId | Yes | The 0-based bone index within the skeleton | |
| layerId | Yes | The numeric ID of the bone layer |