ReferenceScripting APIMotionSoundplay
MotionSound.play
methodPlays it: a voice of its own each time.
| Name | play |
|---|---|
| Kind | method of MotionSound |
| Called as | scene.loadSound(…).play(…) |
| As a node | Play Sound (logic graph) |
| Since | 0.3 |
Syntax
play(options?: MotionPlayOptions): MotionVoiceParameters
| Name | Type | Description |
|---|---|---|
options | MotionPlayOptions | Optional. Its volume, pan, rate, loop, fade in and where it starts |
Returns
MotionVoice: the voice.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.