Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.GameObject
removeAllListeners([event])
Description:
Remove all listeners, or those of the specified event.
Parameters:
name
type
arguments
description
event
string | symbol
<optional>
The event name.
Returns:
Description:
this
.
Type:
Phaser.GameObjects.GameObject
Inherited from:
Phaser.Events.EventEmitter#removeAllListeners
Since:
3.0.0
Source:
src/events/EventEmitter.js
(Line
165
)
Possible examples