Set a pose
pose_setChange a figure's pose in a keyframe by moving its root, scaling it, and setting joint angles, lengths, or world positions in one undoable call.
Instructions
Change a figure's pose in one keyframe: move its root, scale it, and set the angle, length or world position of any of its joints. A joint is named by its handle id (from figure_describe) or by its index in the segment list. An angle is absolute, measured from the parent joint, in radians or degrees. Give a world x and y to place a joint at a point instead; that respects inverse kinematics. Everything in one call is a single undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The id of the figure instance. | |
| root | No | The new root position of the figure, in canvas pixels. | |
| frame | No | The place on the timeline to work on. Defaults to the playhead. | |
| scale | No | The new size factor of the figure. 2 doubles it. | |
| joints | No | The joints to change. | |
| project | No | The id of an open project, from project_open. Defaults to the project used most recently. |