Get event when sound end

hi, I’m using BABYLON.Sound to play some sounds, I want to change a variable when a sound finished, how I can have this event?

1 Like

Hey!
you can set that:

sound.onEndedObservable.add(function() {
});