Sound.isPlaying

From Spheriki

Jump to: navigation, search

Check if a sound is currently playing.


Contents

Usage

boolean sound.isPlaying();
  • sound Sphere Sound object. The sound to check.
  • boolean is returned: true if the sound is playing, false otherwise.


Examples

See the examples for Sound.play().


Notes

  • This function will detect if the sound is playing, regardless of looping or volume.


See also

Personal tools