sunrisejoz Posted November 10, 2023 Share Posted November 10, 2023 hi, i have looked extensively through the docs and can't find reference to this.... if i create a tween that does not include a duration, like this tl.to("#id", {y: 50, xPercent: 65, opacity: 1}); what is the "default" duration. and before you all tell be it'll be what i set in the defaults: {obj}, can we assume that has not been set either please. Link to comment Share on other sites More sharing options...
Solution Toso Posted November 10, 2023 Solution Share Posted November 10, 2023 i think the duration is .5 , i wanted to know this before and just saved the tween inside a variable and console logged it and got all the things i wanted to know and more 2 1 Link to comment Share on other sites More sharing options...
Cassie Posted November 10, 2023 Share Posted November 10, 2023 Yep, default is 0.5 - I'll add this into the docs ☺️ 1 1 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