tween(object) → {Phaser.Tween}
Create a tween on a specific object.
The object can be any JavaScript object or Phaser object such as Sprite.
Parameters
Name | Type | Description |
---|---|---|
object | object | Object the tween will be run on. |
Returns
The newly created Phaser.Tween object.
- Source code: gameobjects/GameObjectFactory.js (Line 158)
Please login to continue.