Phaser API Documentation

  Version: 

Member of: Phaser.Time.Clock

removeEvent(events)

Description:

Removes the given Timer Event, or an array of Timer Events, from this Clock.

The events are removed from all internal lists (active, pending and removal), freeing the event up to be re-used.

Parameters:

name type description
events Phaser.Time.TimerEvent | Array.<Phaser.Time.TimerEvent>

The Timer Event, or an array of Timer Events, to remove from this Clock.

Returns:
Description:
  • This Clock instance.
Since: 3.50.0
Source: src/time/Clock.js (Line 233)