Rotate an Element Based on Previous Values with GreenSock

John Lindquist
InstructorJohn Lindquist

Share this video with your friends

Send Tweet

Rotating an element with GreenSock is as simple as changing the rotation property using TweenMax. But there's also a hugely convenient trick using the += or -+ syntax as a string that allows you to adjust based on the previous value of the rotation.