Share Posted March 13, 2022 Hi! I'm trying to animate some images with GSAP that come in and out of an interface by hovering some buttons. Everything is working fine but sometimes if you move between hovers very fast, one block can make a wrong move. Im overall new to gsap and javascript, so it may be some logic problem i can't find Does someone knows what it can be? I tried changing the whole thing and even made a simple model to see it in a cleaner code. See the Pen bGaGYeY by gustavo-poester (@gustavo-poester) on CodePen Link to comment Share on other sites More sharing options...
Author Share Posted March 13, 2022 I solved the issue searching in the foruns with the fromTo method. Anyways I'm going to leave the old code here if anyone wants to give me some general advice. Thx for the sharing space. Link to comment Share on other sites More sharing options...
Share Posted March 13, 2022 Hey @zinjo, You could play with arrays for example. See the Pen GRyRXGw?editors=0110 by mikeK (@mikeK) on CodePen Happy tweening ... Mikel 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now