Jump to content
Search Community

MotionPath how to convert to GSAP 3

ordinaryJoe test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

  • Solution

Thanks for that!

I don't have a huge amount of time right now, so this is just a quick look. But I don't think you need motionPath plugin.

If you're looking to remove the old stagger syntax and cycle I think you can just do this -

See the Pen wvNXmoV?editors=0011 by GreenSock (@GreenSock) on CodePen



I think it could be simplified down more with template literals - I'm also not entirely sure what cycle is doing here, maybe you need wrap? It seems alright like this though.

Is there a specific goal/part of the code you're trying to change in addition to the stagger/cycle syntax?
 

 

  • Like 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.
×
×
  • Create New...