SamStAubyn Posted February 16, 2024 Posted February 16, 2024 I'm trying to fire the first two tweens simultaneously, so the blob and the text should scale away at the same time, but they always fire one after another, how can I fix this? See the Pen WNmPZaJ by SamStAubyn94 (@SamStAubyn94) on CodePen.
SamStAubyn Posted February 16, 2024 Author Posted February 16, 2024 I'm an idiot, I didn't have my option within the function bracket so it wasn't being detected.... For reference for those who discover it - it should be as follows: tl.to(".cover-content", { scale: 0, duration: 0.5, x: 0, }, "<");
mvaneijgen Posted February 16, 2024 Posted February 16, 2024 Hi @SamStAubyn welcome to the forum! Don't worry about it, we've all been there! I once spend two days with a colleague debugging a piece of code that returns some data and because it was encoded with a an extra space at the end it was not working! Glad you've solved your issue. Happy tweening! 1 1
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