Phaser API Documentation

  Version: 
get(key)

Description:

Gets the first sound in the manager matching the given key, if any.

Parameters:

name type description
key string

Sound asset key.

Returns:
Description:
  • The sound, or null.
Since: 3.23.0