Share Posted May 24, 2020 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 More sharing options...
Share Posted May 25, 2020 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. https://greensock.com/docs/v3/Staggers Happy tweening. 2 Link to comment Share on other sites More sharing options...
Author Share Posted May 25, 2020 ohhhh thanks! Issue was didn't need .staggerFrom but just .from and add in stagger property.. thanks! 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