Jump to content

complete tween right away

Yehuda Katz

Recommended Posts


Imagine the scenario when we animate object (scale) during 3 sec. Animation is awesome but if user interacted with game, we need to complete animation right away and start new. Is there any way to force tween to complete? Currently I am doing following

for (var key in this.progress_tween.properties)
  this.progress_tween.target[key] = this.progress_tween.properties[key];

Thanks in advance

Link to comment
Share on other sites


  • Recently Browsing   0 members

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