Phaser API Documentation

  Version: 
getAll(key)

Description:

Gets any sounds in the manager matching the given key.

Parameters:

name type description
key string

Sound asset key.

Returns:
Description:
  • The sounds, or an empty array.
Type:
Since: 3.23.0