Hello,
I'm using the DrawSVGPlugin.GetPosition with good success to check if an SVG has drawn itself to a certain point before triggering a separate animation, like so -
if (DrawSVGPlugin.getPosition(".svg-line #filled")[1] > 60) {
do animation
}
else {
reverse animation
}
This works great when using the touchpad on my macbook. However, I just noticed on mouse scrollwheels, that it doesn't seem to catch the IF statement condition if I scroll past it in 1 long flick. If I scroll even a small amount afterwards, this triggers the animation. Is there an update function or way to fix this issue?
Thanks!