Create a Tween and return it, but does not add it to this Tween Manager.
Please note that a Tween will not manipulate any target property that begins with an underscore.
In order to play this tween, you'll need to add it to a Tween Manager via
the TweenManager.existing
method.
You can optionally pass an array of Tween Configuration objects to this method and it will create one Tween per entry in the array. If an array is given, an array of tweens is returned.
name | type | description |
---|---|---|
config | object | Array.<object> | Phaser.Types.Tweens.TweenBuilderConfig | Array.<Phaser.Types.Tweens.TweenBuilderConfig> |
A Tween Configuration object. Or an array of Tween Configuration objects. |
The created Tween, or an array of Tweens if an array of tween configs was provided.