Motion
Get Motion

ReferenceScript nodesRendering

Move Layer Setting To

Moves a layer's number or colour setting smoothly to a value over some seconds, eased, after a delay, once or round and round.

Inputs

PinTypeStarts atNotes
inwhat happens next––
Targetlayerlayer––
Parameter Namesettingtext"opacity"–
Target Valuevalueany1–
Over Timesecondsnumber1–
EasingeasingchoiceEase In OutOne of: Linear, Step, Sinusoidal In, Sinusoidal Out, Sinusoidal In Out, Ease In, Ease Out, Ease In Out, Expo In, Expo Out, Expo In Out, Circular In, Circular Out, Circular In Out, Back Out, Bounce Out, Elastic Out.
Delaydelaynumber0–
LooploopchoiceOnceOne of: Once, Loop, Ping Pong.

Outputs

PinType
thenwhat happens next
On Finishedfinishedwhat happens next

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.animate("", "opacity", 1, 1, { easing: ["linear", "step", "sineIn", "sineOut", "sineInOut", "easeIn", "easeOut", "easeInOut", "expoIn", "expoOut", "expoInOut", "circIn", "circOut", "circInOut", "backOut", "bounceOut", "elasticOut"][Math.max(0, Math.min(16, Math.round(7)))], delay: 0, loop: [false, true, "pingpong"][Math.max(0, Math.min(2, Math.round(0)))] }).then(function (ok) { if (!ok) return;});

In a graph

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