Jump to content


MotionPath and regular transform issue

Moderator Tag

Recommended Posts

2 hours ago, alexandrosb said:

I want to animate the tail end from -5 to +5 degrees, and I was wondering if there is a way to do it in a single tween (I know I can chain two together)

You could also use a fromTo so that you have a little bit more control over the ease:

See the Pen PoqmPVz?editors=0010 by GreenSock (@GreenSock) on CodePen


Obviously it will jump to -5 on page load, but you could get rid of that if you want to. Or you could tween to -5 at the start and then do this tween.

Link to comment
Share on other sites

  • 3 years later...

stumbled on this today. The green GSAP dragon can do ANYTHING 🤣

  • Like 3
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.