Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

gsap3 cycle method?

Recommended Posts

Hey guys I may be blind, but is cycle method supported in the gsap3 release? Can't seem to make it work the old way.

Thank you!

See the Pen xxGXJzd by jurajmolnar (@jurajmolnar) on CodePen

Link to comment
Share on other sites





cycle (formerly only in the stagger methods) has been replaced by gsap.utils.wrap() which is more flexible.


Also here:



gsap.to(".item", {x: gsap.utils.wrap([10, 100, 200, 300, 400, 500]), delay: .5, stagger: 0.1})

Does that help clear things up for you?

  • Like 5
  • Thanks 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.