# WaitMelodyOver

Wait until current melody in progress is over

Syntax: `WaitMelodyOver()`

Notes: This function blocks the program until current melody playback is over. It differs from the [previous function](https://rmjjjt.gitbook.io/rubik-s-futuro-cube-sdk-open-beta-v1-4/summary/api-native-functions/sound/waitmelodyover), because melody playback can be paused, which would appear as the playback is over, in which case the previous function would be used

Example: `WaitMelodyOver()`

See also: [WaitPlayOver](https://rmjjjt.gitbook.io/rubik-s-futuro-cube-sdk-open-beta-v1-4/summary/api-native-functions/sound/waitplayover)
