Motion
Get Motion

ReferenceScript nodesMotes

Play Clip

Plays a clip of a 3D layer's model item, faded into from the one playing.

MotesplayClip

Inputs

PinTypeStarts atNotes
inwhat happens next––
Itemitemtext"room#0"–
Clipcliptext––
Fadefadenumber0.3–
Speedspeednumber1–

Outputs

PinType
thenwhat happens next

The code it becomes

The graph below written as a script would write it.

import { MeshComponent } from "motion";// On Scene Startnew MeshComponent("clip", "room#0").play("", { fade: 0.3, speed: 1 });

In a graph

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