GetMouseMovement

GetMouseMovement returns a vector containing the amount of mouse movement since the last ProcessEvents. This is useful for games which need to act in relation to the amount of movement of the mouse. The Magnitude can be used to determine the distance moved, or the Vector's x and y values can be read to determine how far it has moved in a given direction.

Also See

 * Vector
 * GetMousePosition