Phaser API Documentation

  Version: 
add(config)

Description:

Create a Tween and add it to the active Tween list.

Parameters:

name type description
config object | Phaser.Types.Tweens.TweenBuilderConfig

The configuration object for the Tween.

Returns:
Description:

The created Tween.

Since: 3.0.0