ReferenceScript nodesRendering
Set Video Speed
Plays a video layer's film faster or slower (0 holds it).
ƒSet Video SpeedTarget is Layer
LayerLayer
Rate1
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Layerlayer | layer | – | – |
Raterate | number | 1 | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.video("").setRate(Math.max(0, Math.min(4, 1)));In a graph
◆On Scene Start
ƒSet Video SpeedTarget is Layer
LayerLayer
Rate1
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.