How to get a value of an attribute using TweenMax in GSAP Posted December 23, 2016 I have animated an element's attribute using TweenMax like this: TweenMax.to($(".element"), 2, { rotation : 180 }); Later on, I need to get the value of the rotation, is it possible? Something like this: TweenMax.getValue($(".element"), "rotation"); // just an example How can I get the value of an attribute animated by TweenMax? 1
How to get a value of an attribute using TweenMax
in GSAP
Posted
I have animated an element's attribute using TweenMax like this:
Later on, I need to get the value of the rotation, is it possible? Something like this:
How can I get the value of an attribute animated by TweenMax?