Phaser API Documentation

  Version: 

Member of: Phaser.Tweens.Tween

stop([resetTo])

Description:

Stops the Tween immediately, whatever stage of progress it is at and flags it for removal by the TweenManager.

Parameters:

name type arguments description
resetTo number <optional>

If you want to seek the tween, provide a value between 0 and 1.

Returns:
Description:

This Tween instance.

Since: 3.0.0