When you tween any elements, GSAP attaches _gsTransform to that element's DOM object. So you can access all the current values by using _gsTransform. For example,   var elem = document.getElementById('box'); TweenMax.to(elem, 1, {xPercent: 100}); console.log(elem._gsTransform.xPercent);   Will return current xPercent for that element. It can be very useful to access values of elements so you can calculate anything you want.   If you are using jQuery,   var $
    • Like
    7