Mouse.setGlobalCursorPosition

Set the cursor position in global screen space.

Note: A call to this function generates a mouse motion event.

  1. void setGlobalCursorPosition(int x, int y)
    class Mouse
    @nogc static nothrow
    static if(SDL_VERSION_ATLEAST(2, 0, 4))
    void
    setGlobalCursorPosition
    (
    int x
    ,
    int y
    )
  2. void setGlobalCursorPosition(Vector2i pos)

Meta