Studio › Manual › Bones (2D skeletons)

Bones: IK (reaching for a target)

IK turns a bone, or a bone and its parent, so the chain's end reaches a target: feet stay on the ground while the hips move, a hand reaches for a handle. With the IK tool (K) click the end bone (⇧-click for a one-bone IK); Studio adds a target bone at its tip. Drag the target and the chain follows. In the inspector, Mix sets how much it pulls (and keys it in Animate mode) and Bend the other way flips a knee or elbow. The game can move a target with skel_set_ik_target(skel, "name", x, y).

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.