Animate From a Variable Point with from and fromTo in GreenSock

John Lindquist
InstructorJohn Lindquist

Share this video with your friends

Send Tweet

GreenSock also supports the ability to animate from a variable point to the current point. If you think to starts at a static point and moves to a variable point then from essentially does the opposite. fromTo supports the scenario where both points are variables and requires passing in a "from" set of properties and a "to" set of properties.