Phaser API Documentation

  Version: 
tween(config)

Description:

Creates a new Tween object and returns it.

Note: This method will only be available if Tweens have been built into Phaser.

Parameters:

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

The Tween configuration.

Returns:
Description:

The Tween that was created.

Since: 3.0.0