Jump to content

Killing a Tween


Recommended Posts

Hi All,
I'm simply trying to kill/destroy a tween so it stops as soon as I call the method. I have tried the following code:

this.tweens.add({targets: this.titleGraphic, scaleX: 1, scaleY: 1, duration: 1000, ease: Phaser.Math.Easing.Back.Out});

However, that does not seem to work. this.tweens.killAll(); also does not work. "this" is a reference to the current scene.


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...