Tween#onLoop

onLoop : Phaser.Signal The onLoop event is fired if the Tween, or any child tweens loop.It will be sent 2 parameters: the target object and this tween. Source code: tween/Tween.js (Line 85)

Tween#onRepeat

onRepeat : Phaser.Signal The onRepeat event is fired if the Tween and all of its children repeats. If this tween has no children this will never be fired.It will be sent 2 parameters: the target object and this tween. Source code: tween/Tween.js (Line 92)

Tween#onStart

onStart : Phaser.Signal The onStart event is fired when the Tween begins. If there is a delay before the tween starts then onStart fires after the delay is finished.It will be sent 2 parameters: the target object and this tween. Source code: tween/Tween.js (Line 77)

Tween#onUpdateCallback()

onUpdateCallback(callback, callbackContext) → {Phaser.Tween} Sets a callback to be fired each time this tween updates. Parameters Name Type Description callback function The callback to invoke each time this tween is updated. Set to null to remove an already active callback. callbackContext object The context in which to call the onUpdate callback. Returns Phaser.Tween - This tween. Useful for method chaining. Source code: tween/Tween.js (Line 626)

Tween#pause()

pause() Pauses the tween. Resume playback with Tween.resume. Source code: tween/Tween.js (Line 643)

Tween#pendingDelete

[readonly] pendingDelete : boolean True if this Tween is ready to be deleted by the TweenManager. Source code: tween/Tween.js (Line 70)

Tween#properties

properties : Object Target property cache used when building the child data values. Source code: tween/Tween.js (Line 125)

Tween#repeat()

repeat(total, repeat, index) → {Phaser.Tween} Sets the number of times this tween will repeat.If you have not yet called Tween.to or Tween.from at least once then this method will do nothing, as there are no tweens to repeat.If you have child tweens and pass -1 as the index value it sets the number of times they'll repeat across all of them.If you wish to define how many times this Tween and all children will repeat see Tween.repeatAll. Parameters Name Type Argument Default Description total

Tween#repeatAll()

repeatAll(total) → {Phaser.Tween} Set how many times this tween and all of its children will repeat.A tween (A) with 3 children (B,C,D) with a repeatAll value of 2 would play as: ABCDABCD before completing. Parameters Name Type Argument Default Description total number <optional> 0 How many times this tween and all children should repeat before completing. Set to zero to remove an active repeat. Set to -1 to repeat forever. Returns Phaser.Tween - This tween. Useful for metho

Tween#repeatCounter

repeatCounter : number If the Tween and any child tweens are set to repeat this contains the current repeat count. Source code: tween/Tween.js (Line 63)