Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Input.Gamepad.Gamepad
listeners(event)
Description:
Return the listeners registered for a given event.
Parameters:
name
type
description
event
string | symbol
The event name.
Returns:
Description:
The registered listeners.
Type:
Array.<function()>
Inherited from:
Phaser.Events.EventEmitter#listeners
Since:
3.0.0
Source:
src/events/EventEmitter.js
(Line
64
)
Possible examples