Phaser API Documentation

  Version: 
get(key)

Description:

Gets the first sound in this Sound Manager that matches the given key. If none can be found it returns null.

Parameters:

name type description
key string

Sound asset key.

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