Loading...

Logo
DocumentationBehaviorsSceneGet Music Settings
Scene

Get Music Settings

Last updated July 6, 2017

Description

The Get Music Settings behavior will get the settings and properties of the music playing in the scene. You can get the volume, duration and current time of the music that is playing.

This behavior will trigger an event immediately.

Properties

Triggers Immediately

This behavior has no other properties.

Outputs

Volume

The volume of the currently playing music.

Is Playing

This will output 1 if any music is playing. Otherwise, this will be 0.

Current Time

The amount of seconds that has elapsed since the beginning of the music track.

Duration

How long the song is in seconds.

Examples

You can use this behavior to get the current volume, then output that to another behavior and change the volume based on wether or not this is higher than desired.

Set Music Settings

Pause Music

Play Music

Stop Music

GetMusicSettingsReference.gif