Fade Sound Layer
Moves a Sound layer's volume to a new one over some seconds.
ƒFade Sound LayerTarget is Layer
LayerLayer
Volume0
Seconds2
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Layerlayer | layer | – | – |
Volumevolume | number | 0 | – |
Secondsseconds | number | 2 | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.sound("").fadeTo(0, 2);In a graph
◆On Scene Start
ƒFade Sound LayerTarget is Layer
LayerLayer
Volume0
Seconds2
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.