Phaser API Documentation

  Version: 
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.
Examples:
Since: 3.0.0