Function setMousePosition

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

void setMousePosition (
  int[2] newPosition
) @trusted;

Parameters

NameDescription
newPosition new coordinate of the mouse in the focused window