PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

Stopped

Fires when the Sound is stopped due to the Sound/Stop function.

As with Sound/Played, Sound/Paused and Sound/Resumed only the respective sound function will cause the event to fire. This means that Stopped will only fire when Sound/Stop is called. Destroying a sound whilst it is playing will not cause this event to fire.

Parameters

Name Type Default Description

The Sound/SoundId of the Sound that stopped.


Code Samples


Sound Functions

This sample gives a simple demonstration of what each of the Sound functions (Sound.Play, Sound.Stop, Sound.Pause and Sound.Resume) do to Sound.Playing and Sound.TimePosition.