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