Jump to content

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

Is it possible to randomize stagger?

Go to solution Solved by GreenSock,

Recommended Posts

Is there a randomize stagger available or I have to write my function if I want the elements to animate in random order?

Link to comment
Share on other sites

You can use a random delay like so...

gsap.to(".box", {
  x: 300,
  delay: "random(0, 2)"


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