ReferenceScripting APIMotionSoundLayersetVolume
MotionSoundLayer.setVolume
methodTurns it up or down, over its own volume.
| Name | setVolume |
|---|---|
| Kind | method of MotionSoundLayer |
| Called as | scene.sound(…).setVolume(…) |
| Since | 0.3 |
Syntax
setVolume(volume: number): voidParameters
| Name | Type | Description |
|---|---|---|
volume | number | 0 to 2 |
Returns
Nothing.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.