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