Phaser API Documentation

  Version: 
<static> TweenBuilder(parent, config, defaults)

Description:

Creates a new Tween.

Parameters:

name type description
parent Phaser.Tweens.TweenManager | Phaser.Tweens.Timeline

The owner of the new Tween.

config object | Phaser.Types.Tweens.TweenBuilderConfig

Configuration for the new Tween.

defaults Phaser.Types.Tweens.TweenConfigDefaults

Tween configuration defaults.

Returns:
Description:

The new tween.

Examples:
Since: 3.0.0