Keep catching events while mouse is still pressed

Can you explain a little bit more about what you want to do? Perhaps there is a better way to do it. Have a look at drag and drop. Here you can find some example code : https://forum.juce.com/t/need-a-little-help-understanding-draganddrop/