warpMouse method

void warpMouse(
  1. int x,
  2. int y
)

Move the mouse to the given position in global screen space.

SDL Docs

Implementation

void warpMouse(final int x, final int y) =>
    checkReturnValue(sdl.SDL_WarpMouseGlobal(x, y));