I've been trying to understand how to make a scrollbar for a few hours, I managed to make it work by dragging with the mouse, but there is a problem, a part is left out:
My goal is to return a value between 0 and 1.
I did it, but it goes over the limit, and no, it’s not just subtracting the...