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#resume()

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

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

timeline : Array An Array of TweenData objects that comprise the different parts of this Tween. Source code: tween/Tween.js (Line 40)

Tween#timeScale

timeScale : number The speed at which the tweens will run. A value of 1 means it will match the game frame rate. 0.5 will run at half the frame rate. 2 at double the frame rate, etc.If a tweens duration is 1 second but timeScale is 0.5 then it will take 2 seconds to complete. Default Value 1 Source code: tween/Tween.js (Line 58)

Tween#to()

to(properties, duration, ease, autoStart, delay, repeat, yoyo) → {Phaser.Tween} Sets this tween to be a to tween on the properties given. A to tween starts at the current value and tweens to the destination value given.For example a Sprite with an x coordinate of 100 could be tweened to x 200 by giving a properties object of { x: 200 }.The ease function allows you define the rate of change. You can pass either a function such as Phaser.Easing.Circular.Out or a string such as "Circ".".easeIn",

Tween#totalDuration

totalDuration : Phaser.TweenData Gets the total duration of this Tween, including all child tweens, in milliseconds. Source code: tween/Tween.js (Line 893)