Jump to content
Search Community

sepatate out tween of properties

magnetik test
Moderator Tag

Recommended Posts

Thanks for the help Carl. 

I was hopping for something that was more inline. I am using stagger class and things start getting really messy when doing it like the above. Is there a way to write in the delay to the opacity attribute? This is what I am looking at.

 

tl.to(".lgosAnima1s", {duration:4, y:-520, opacity:0, onRepeat:faderIn, stagger:{each:.1, from:"end", ease: "power1.in"}, repeat: -1, repeatDelay: 4});

 

Thanks!

Link to comment
Share on other sites

Messy? This seems pretty clean to me. Can you provide a minimal demo, so that we can take a look at your setup, because maybe we're missing something from just the explanation. 

 

Keep in mind that you can also move the repeat and repeatDelay to the timeline instead of putting it on the tween. 

 

You could also look in to keyframes, see the post. But what @Carl posted is in my opinion the best way to do it.

 

  • Like 2
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...