Motion
Get Motion

ReferenceScripting APIMotionScenesound

MotionScene.sound

method

A Sound layer, by its name or id.

Namesound
Kindmethod of MotionScene
Called asscene.sound(…)
Since0.3

Syntax

sound(name: string): MotionSoundLayer

Parameters

NameTypeDescription
namestringThe layer's name or id

Returns

MotionSoundLayer: the layer, to play, stop, turn and fade.

Remarks

A layer that isn't there does nothing, and the console says so once.

See also

MotionSoundLayer