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. the first tween created. |
Returns
This tween. Useful for method chaining.
- Source code: tween/Tween.js (Line 284)
Please login to continue.