loop(value) → {Phaser.Tween}
Enables the looping of this tween. The tween will loop forever, and onComplete will never fire. If value is true then this is the same as setting Tween.repeatAll(-1).If value is false it is the same as setting Tween.repeatAll(0) and will reset the repeatCounter to zero. Usage:game.add.tween(p).to({ x: 700 }, 1000, Phaser.Easing.Linear.None, true).to({ y: 300 }, 1000, Phaser.Easing.Linear.None).to({ x: 0 }, 1000, Phaser.Easing.Linear.None).to({ y: 0 }, 1000, Phaser