setMousePosition

Wraps SDL_WarpMouseInWindow which sets the mouse position relative to a focused window

@safe @trusted
void
setMousePosition
()

Parameters

newPosition int[2]

new coordinate of the mouse in the focused window

Meta