stop(complete) → {Phaser.Tween}
Stops the tween if running and flags it for deletion from the TweenManager.
If called directly the Tween.onComplete
signal is not dispatched and no chained tweens are started unless the complete parameter is set to true
.
If you just wish to pause a tween then use Tween.pause instead.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
complete | boolean | <optional> | false | Set to |
Returns
This tween. Useful for method chaining.
- Source code: tween/Tween.js (Line 340)
Please login to continue.