Motion
Get Motion

ReferenceScript nodesMotes

Get Bone

Where one of a 3D layer's model item's joints is, as last drawn.

MotesPure: no flow pinsgetBone

Inputs

PinTypeStarts atNotes
Itemitemtext"room#0"–
Bonebonetext––

Outputs

PinType
Placeplacevec3
Hashasbool

The code it becomes

The graph below written as a script would write it.

import { MeshComponent } from "motion";// On Scene Startscene.log(((function (c) { c.watchBones(); var b = c.bone(""); return b ? [b.position.x, b.position.y, b.position.z] : [0, 0, 0]; })(new MeshComponent("b", "room#0"))));

In a graph

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