Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Renderer.WebGL.Pipelines.PostFXPipeline
listenerCount(event)
Description:
Return the number of listeners listening to a given event.
Parameters:
name
type
description
event
string | symbol
The event name.
Returns:
Description:
The number of listeners.
Type:
number
Inherited from:
Phaser.Events.EventEmitter#listenerCount
Since:
3.0.0
Source:
src/events/EventEmitter.js
(Line
75
)
Possible examples