Function setMousePosition
Wraps SDL_WarpMouseInWindow
which sets the mouse position relative to a focused window
void setMousePosition
(
int[2] newPosition
) @trusted;
Parameters
Name | Description |
---|---|
newPosition | new coordinate of the mouse in the focused window |