Mouse Position doesnt update while pressing a button

I’ve found a more straightforward solution:

Use OnDragOver:

And it’s working.