Share Posted January 29, 2021 I have this beautiful animation thanks to TweenMax. As you see the width of the bar animates from 100px to 400px and vise versa. I want to track when the bar reaches 100px (the beginning of the animation) so I used onRepeat callback. But as you see it only fires once!!! How can I fix this without ruining the animation? Note: I don't want to switch to GASP because I have wrote a lot of code in TweenMax and I don't want to change all of those. See the Pen qBqBXXV by pixy-dixy (@pixy-dixy) on CodePen Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now