Phaser API Documentation

  Version: 

Member of: Phaser.Tweens.Tween

reset([skipInit])

Description:

Resets this Tween ready for another play-through.

This is called automatically from the Tween Manager, or from the parent TweenChain, and should not typically be invoked directly.

If you wish to restart this Tween, use the Tween.restart or Tween.seek methods instead.

Parameters:

name type arguments Default description
skipInit boolean <optional> false

Skip resetting the TweenData and Active State?

Returns:
Description:

This Tween instance.

Since: 3.60.0