Phaser API Documentation

  Version: 

Member of: Phaser.Tweens.Tween

restart()

Description:

Restarts the Tween from the beginning.

If the Tween has already finished and been destroyed, restarting it will throw an error.

If you wish to restart the Tween from a specific point, use the Tween.seek method instead.

Returns:
Description:

This Tween instance.

Since: 3.0.0