Jump to content
Search Community

Why are my first two tweens not firing simultaneously?

SamStAubyn test
Moderator Tag

Recommended Posts

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,
}, "<");
Link to comment
Share on other sites

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!  

 

 

  • Like 1
  • Haha 1
Link to comment
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...