Hi, do you have any tips how make a dragger/timeline or progress bar fulfill by itself as the mouse is being moved?
Additionally, how to read its value in real time?
I want to update mood.progress() value adequately.
In short words - the goal is for pet's mood to get better as you move your mouse. Right now you can do it by dragging a dot on a slider.
I'm using GSAP since yesterday. I've been fighting all day with it and cannot think of any proper solution.
Increasing TimeLine value on mouse move
in GSAP
Posted
Hi, do you have any tips how make a dragger/timeline or progress bar fulfill by itself as the mouse is being moved?
Additionally, how to read its value in real time?
I want to update mood.progress() value adequately.
In short words - the goal is for pet's mood to get better as you move your mouse. Right now you can do it by dragging a dot on a slider.
I'm using GSAP since yesterday. I've been fighting all day with it and cannot think of any proper solution.
Thanks!
[EDIT] Solved
See the Pen NWNdKZv by kamdre (@kamdre) on CodePen