Move an IK target
pose_ik_setMoves a joint's inverse kinematics target to position a hand or foot at canvas coordinates; the joint must already have an enabled controller.
Instructions
Move the inverse kinematics target of a joint, placing a hand or foot at a point on the canvas. The controller must already be enabled on that joint; use figure_describe to see which joints have controllers. A pinned controller keeps the target when the figure moves; an unpinned one bakes the pose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | The world x of the target, in canvas pixels. | |
| y | Yes | The world y of the target, in canvas pixels. | |
| uid | Yes | The id of the figure instance. | |
| frame | No | The place on the timeline to work on. Defaults to the playhead. | |
| project | No | The id of an open project, from project_open. Defaults to the project used most recently. | |
| handleId | Yes | The joint whose controller to move. |