Tween#target

target : Object The target object, such as a Phaser.Sprite or property like Phaser.Sprite.scale. Source code: tween/Tween.js (Line 30)

Tween#stop()

stop(complete) → {Phaser.Tween} Stops the tween if running and flags it for deletion from the TweenManager.If called directly the Tween.onComplete signal is not dispatched and no chained tweens are started unless the complete parameter is set to true.If you just wish to pause a tween then use Tween.pause instead. Parameters Name Type Argument Default Description complete boolean <optional> false Set to true to dispatch the Tween.onComplete signal. Returns Phaser.Tween - This

Tween#start()

start(index) → {Phaser.Tween} Starts the tween running. Can also be called by the autoStart parameter of Tween.to or Tween.from.This sets the Tween.isRunning property to true and dispatches a Tween.onStart signal.If the Tween has a delay set then nothing will start tweening until the delay has expired. Parameters Name Type Argument Default Description index number <optional> 0 If this Tween contains child tweens you can specify which one to start from. The default is zero, i.e. th

Tween#reverse

reverse : boolean If set to true the current tween will play in reverse.If the tween hasn't yet started this has no effect.If there are child tweens then all child tweens will play in reverse from the current point. Source code: tween/Tween.js (Line 49)

Tween#resume()

resume() Resumes a paused tween. Source code: tween/Tween.js (Line 675)

Tween#repeatDelay()

repeatDelay(duration, index) → {Phaser.Tween} Sets the delay in milliseconds before this tween will repeat itself.The repeatDelay is invoked as soon as you call Tween.start. If the tween is already running this method doesn't do anything for the current active tween.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 set repeatDelay on.If you have child tweens and pass -1 as the index value it sets the repeatDelay across

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)

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#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#properties

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