Display mouse get x

Explanation
This function returns the x position of the mouse within the entire display of your screen. If you want the value to be relative to the game window, use. And if you want the value to be relative to the room itself use the variable mouse_x.