Jump to content


stagger error - 'runBackwards'

Moderator Tag

Recommended Posts

This is the full error:
Uncaught TypeError: Cannot create property 'runBackwards' on number '0.5'
    at Timeline.staggerFrom

Not sure what this error is never seen it, what could be wrong with the staggerFrom code?

Thank you.

See the Pen eYpoYpw by designsbyharp (@designsbyharp) on CodePen

Link to comment
Share on other sites

If you use the new stagger syntax, you should be fine. No more staggerTo/staggerFrom in GSAP 3.


.from(menuLinks, {duration: 0.8, opacity: 0, x: -20, stagger:0.5, ease: "power2"})

I also changed the ease string for you. 




Happy tweening.



  • Like 2
Link to comment
Share on other sites

ohhhh thanks! Issue was didn't need .staggerFrom but just .from and add in stagger property.. thanks!

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.