Jump to content
GreenSock

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

GreenSock FAQs

FAQS

We've compiled a bunch of the most frequently asked questions along with their answers here. If you don't find the answer here, search the forums, or contact us.

FAQs

Can I use the JavaScript version of GSAP for canvas objects or 3rd party tools like EaselJS?

You can animate ANY numeric property of ANY JavaScript object – it’s not just for DOM elements. So yes, you can animate canvas objects, EaselJS assets, and pretty much anything JavaScript-related. In fact, GSAP even has an EaselPlugin to make it easier to animate EaselJS properties. If you need to run logic after each refresh (like to redraw things on the canvas), either use an onUpdate on the individual tween/timeline or add a “tick” event listener to the core Ticker that drives the platform.
×