How to read a continuous mouseDown?

Hello,
I’m trying to implement a scrollbar from scratch. So far, it works pretty well, but I haven’t been able to figure out how to make the thing scroll continuously when the down arrow is clicked and held down. The mouseDown event only registers the initial down press, so it hasn’t helped so far.

Thanks in advance

maybe the mousemove could help? don’t know for sure if the event given has methods to see if mouse button ar a key is down, just give it a try

Thanks,
I’ve been trying MouseMove and the Event.isLeftButtonDown(), which works as expected. But the MouseMove event is only triggered when the cursor is moved, so I would need to click and move at the same time to get Event.isLeftButtonDown() to return true. This makes it unsuitable for a scroll handler.