ReferenceScript nodesRendering
On Video Finished
When a video layer's film goes round to its start again.
◆On Video Finished
Layer
Inputs
None. It starts a chain of its own.
Outputs
| Pin | Type |
|---|---|
then | what happens next |
Layerlayer | layer |
The code it becomes
The graph below written as a script would write it.
let s2_layer = "";// On Video Finishedscene.on("videoEnd", function (layer) { s2_layer = String(layer); scene.log(s2_layer);});In a graph
◆On Video Finished
Layer
ƒPrint
In Text
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.