Motion
Get Motion

ReferenceScript nodesPhysics

Make Joint

Joins two motes' bodies: as one, turning, sliding, on a spring or a rope.

PhysicsmakeJoint

Inputs

PinTypeStarts atNotes
inwhat happens next––
Aamote––
Bbmote––
KindkindchoiceRopeOne of: Fixed, Hinge, Slider, Spring, Rope.
Lengthlengthnumber100–

Outputs

PinType
thenwhat happens next
Jointjointint

The code it becomes

The graph below written as a script would write it.

let s2_joint = 0;// On Scene Starts2_joint = stage.join("", "", { kind: ["fixed", "hinge", "slider", "spring", "rope"][Math.max(0, Math.min(4, Math.round(4)))], length: 100 });scene.log(s2_joint);

In a graph

The node with what starts it and Print to show what it gives, as Studio draws them.