The x-coordinate of the mouse. This will give you the x-position of the mouse inside your game window
- Example: object1.x = mouse_x
- You can use mouse_x and mouse_y in move towards actions.
- Result: Object1 will now always have the same x-coordinate as the mouse's x-coordinate. (It will stay on the same vertical line as the mouse cursor)