Motion
Get Motion

ReferenceScript nodesPhysics

On Motes Stop Touching

When two motes' bodies stop touching.

PhysicsAn event: starts a chainonHitEnd

Inputs

None. It starts a chain of its own.

Outputs

PinType
thenwhat happens next
Aamote
Bbmote

The code it becomes

The graph below written as a script would write it.

let s2_a = "";let s2_b = "";// On Motes Stop Touchingscene.on("hitEnd", function (a, b) { s2_a = String(a); s2_b = String(b);    scene.log(s2_a);});

In a graph

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