-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to destory an animation? #1273
Comments
is there anyone could help |
Hello, have you solved this problem? I also had the same problem,This is causing me a lot of pain |
|
I have a similar question. I have an animation that uses loop() and runs forever. I don't know what the proper way is to stop and destroy the animation? I found a few functions like timeline().stop() or runner.unschedule(), but I have no idea if that is the right way to stop/cancel an animation... |
I have a similar issue - i scale 200%, works fine, but if I mouseout, it doesn't scale down back to 100% (1). In fact, mouseout doesn't seem to work at all.. |
I made a scale animation test , you can visit https://codepen.io/echolove38/pen/oNEPKVE
when I click 'start' button, the rect scale from 20% to 80%,
when I click 'restore' button, restore the rect scale to 1,
but when I click 'start' again , the rect become smaller than before,
.....
...
loop the operates, the rect become more and more small.
so, why the animation still depends on last's result.
how to destory the last animation and start a new scale animation.
The text was updated successfully, but these errors were encountered: