Phaser API Documentation

  Version: 
remove([dispatchCallback])

Description:

Forces the Timer Event to immediately expire, thus scheduling its removal in the next frame.

Parameters:

name type arguments Default description
dispatchCallback boolean <optional> false

If true, the function of the Timer Event will be called before its removal.

Since: 3.0.0
Source: src/time/TimerEvent.js (Line 323)