Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Sound.NoAudioSoundManager
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.
Type:
Phaser.Sound.BaseSound
Inherited from:
Phaser.Sound.BaseSoundManager#get
Since:
3.23.0
Source:
src/sound/BaseSoundManager.js
(Line
216
)
Possible examples