Phaser API Documentation

  Version: 
Event: PAUSE_ALL
Phaser.Sound.Events.PAUSE_ALL
PAUSE_ALL

Description:

The Pause All Sounds Event.

This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Sound Manager, or the HTML5 Audio Manager. It is dispatched when the pauseAll method is invoked and after all current Sounds have been paused.

Listen to it from a Scene using: this.sound.on('pauseall', listener).

Parameters:

name type description
soundManager Phaser.Sound.BaseSoundManager

A reference to the sound manager that emitted the event.

Since: 3.0.0