Hi,
there are some posts which are similar:
Ricardo posted an WebSDK Control to get Mouse Pressed Events:
WebContainer Mouse Click
There is a javascript event for mouse movements
Mouse Move Events
Probably you can combine these two and get what you want…