Yehuda Katz Posted March 25, 2018 Share Posted March 25, 2018 Hello, 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 this.progress_tween.stop(); for (var key in this.progress_tween.properties) this.progress_tween.target[key] = this.progress_tween.properties[key]; this.progress_tween.onComplete.dispatch(); Thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts