Mouse.getGlobalCursorPosition

Returns the global cursor position. x and y will be reported relative to the top-left of the Desktop

class Mouse
@nogc static nothrow
static if(SDL_VERSION_ATLEAST(2, 0, 4))
getGlobalCursorPosition
()

Meta