Loading...

Logo
DocumentationBehaviorsScenePlay Music
Scene

Play Music

Last updated July 6, 2017

Description

The Play Music behavior will start playing a selected music file as soon as it is triggered. Note that you can only play one song at a time. If you have paused a music track, you can use the Play Music behavior to resume it, as long as the same music asset is selected.

This behavior will trigger an event after a delay (when music is done playing).

Properties

Triggers after a Delay

Music

Select the music file from the asset library. You can import any music file form iTunes or 3rd party apps.

Volume

You can set how loud or quiet you want the music to play. The default volume is 100.

Loop

If this toggle is on, then the music will restart when it finishes. An event will be triggered on each replay.

Outputs

Volume

Outputs the volume of the music on a scale of 0 to 100.

Examples

You can use this behavior to play some background music for your scene.

Get Music Settings

Set Music Settings

Pause Music

Stop Music

PlayMusicReference.gif