This command will get the current integer X movement value of the mouse pointer. Instead of the actual mouse position, this command returns the difference between the current mouse X position and the last mouse X position.

Syntax: 
Return Integer=MOUSEMOVEX()