pub fn desktop_position() -> Vector2i
Expand description

Get the current position of the mouse in desktop coordinates.

This function returns the global position of the mouse cursor on the desktop.