Phaser API Documentation

  Version: 
Event: TWEEN_RESUME
Phaser.Tweens.Events.TWEEN_RESUME
TWEEN_RESUME

Description:

The Tween Resume Event.

This event is dispatched by a Tween when it is resumed from a paused state.

Listen to it from a Tween instance using Tween.on('resume', listener), i.e.:

var tween = this.tweens.add({
    targets: image,
    ease: 'Power1',
    duration: 3000,
    x: 600
});
tween.on('resume', listener);
// At some point later ...
tween.resume();

Parameters:

name type description
tween Phaser.Tweens.Tween

A reference to the Tween instance that emitted the event.

Since: 3.60.0