TweenMax.staggerFromTo(counterElement.find('g path'), details.speed, {drawSVG:"0", ease:Sine.easeOut}, {drawSVG:details.percentage+"%", onUpdate: function(){console.log(this)} });
The animation works correctly. The onUpdate is working either.
Now I want to get the current percentage of the drawSVG in the onUpdate.
I looked in the this result object, but can't find any variable with current percentage.
How to achieve this?