getGlobalMousePosition

Wraps SDL_GetGlobalMouseState (from SDL 2.0.4) which gets the mouse position globally

@safe @trusted
static if(sdlSupport >= SDLSupport.v2_0_4)
int[2]
getGlobalMousePosition
()

Return Value

Type: int[2]

coordinate of the mouse in the display

Meta