Jump to content
GreenSock

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

QuickTip: Directional Rotation
Sign in to follow this  


| GreenSock
7955

Note: This page was created for GSAP version 2. We have since released GSAP 3 with many improvements. While it is backward compatible with most GSAP 2 features, some parts may need to be updated to work properly. Please see the GSAP 3 release notes for details.

With some animation engines it can be frustrating trying to get something to rotate in a specific direction. With GSAP you can explicitly set the direction or let GSAP figure out the shortest distance.

Watch the video

Interactive demo

See the Pen DirectionalRotation Visualizer by GreenSock (@GreenSock) on CodePen.

Check out the DirectionalRotation Plugin docs for more info.

Get an all-access pass to premium plugins, offers, and more!

Join the Club

When is the last time you worked on something you love? Go animate something cool and then share it with us.

- Team GreenSock
Sign in to follow this  


User Feedback

Recommended Comments

There are no comments to display.



Guest
This is now closed for further comments

×