Sound.stop

From Spheriki

Jump to: navigation, search

Stop the playback of a sound.


Contents

Usage

sound.stop();
  • sound Sphere Sound object. The sound to stop playing.


Examples

The examples section of Sound.play() contains the use of this function in context, but it's simple to use:

my_sound.stop();


Notes

  • If the sound isn't currently playing, this function will have no effect.
  • This function will stop the sound whether or not it is being played in a loop.


See also

Personal tools