How can i calculate the distance that the mouse travelled? The mouse should always start at point x:0, y:0. When i move and stop later on, i want to see how much points i moved the cursor.

Can someone please help me on how to do this...??