Motion
Get Motion

ReferenceScripting APIMotionSound

MotionSound

interface

A sound of the script's own (scene.loadSound): played as many times as asked, each a voice.

NameMotionSound
Kindinterface
Script reaches it asMotionScene.loadSound()
Since0.3

Syntax

interface MotionSound { … }

Properties

NameTypeDescription
filepropertyreadonly stringIts file, in the scene's folder.
buspropertyreadonly stringThe bus it plays through, as Studio's Mixer shows them: "music", "effects" (unless told), "ambience" or one of the scene's own.

Methods

SignatureDescription
play(options?: MotionPlayOptions): MotionVoicemethodPlays it: a voice of its own each time.

See also

MotionVoice