Course lesson

Animate From a Variable Point with from and fromTo in GreenSock

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...

Duration
1 min
Access
Pro
Transcript
Available

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.