TweenData#to()

to(properties, duration, ease, delay, repeat, yoyo) → {Phaser.TweenData} 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 }. Parameters Name Type Argument Default Description properties object The properties you want to tween, such as Sprite.x or Sound.volume. Given as a JavaScript

TweenData#startTime

startTime : number The time the Tween started or null if it hasn't yet started. Source code: tween/TweenData.js (Line 123)

TweenData#start()

start() → {Phaser.TweenData} Starts the Tween running. Returns Phaser.TweenData - This Tween object. Source code: tween/TweenData.js (Line 239)

TweenData#repeatTotal

[readonly] repeatTotal : number The total number of times this Tween will repeat. Source code: tween/TweenData.js (Line 84)

TweenData#repeatDelay

repeatDelay : number The amount of time in ms between repeats of this tween. Source code: tween/TweenData.js (Line 78)

TweenData#repeatCounter

repeatCounter : number If the Tween is set to repeat this contains the current repeat count. Source code: tween/TweenData.js (Line 73)

TweenData#percent

[readonly] percent : number A value between 0 and 1 that represents how far through the duration this tween is. Source code: tween/TweenData.js (Line 62)

TweenData#parent

parent : Phaser.Tween The Tween which owns this TweenData. Source code: tween/TweenData.js (Line 21)

TweenData#isRunning

isRunning : boolean If the tween is running this is set to true. Unless Phaser.Tween a TweenData that is waiting for a delay to expire is not considered as running. Source code: tween/TweenData.js (Line 147)

TweenData#isFrom

isFrom : boolean Is this a from tween or a to tween? Source code: tween/TweenData.js (Line 153)