The Tween Pause Event.
This event is dispatched by a Tween when it is paused.
Listen to it from a Tween instance using Tween.on('pause', listener)
, i.e.:
var tween = this.tweens.add({
targets: image,
ease: 'Power1',
duration: 3000,
x: 600
});
tween.on('pause', listener);
// At some point later ...
tween.pause();
name | type | description |
---|---|---|
tween | Phaser.Tweens.Tween |
A reference to the Tween instance that emitted the event. |