Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    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 variables and requires passing in a "from" set of properties and a "to" set of properties.