Phaser API Documentation

  Version: 
reset(tween)

Description:

Resets the given Tween.

If the Tween does not belong to this Tween Manager, it will first be added.

Then it will seek to position 0 and playback will start on the next frame.

Parameters:

name type description
tween Phaser.Tweens.Tween

The Tween to be reset.

Returns:
Description:

This Tween Manager instance.

Since: 3.60.0