Phaser API Documentation

  Version: 
add(config)

Description:

Creates a new Tween, based on the given Tween Config, and adds it to this Timeline.

Parameters:

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

The configuration object for the Tween.

Returns:
Description:

This Timeline object.

Since: 3.0.0
Source: src/tweens/Timeline.js (Line 337)