Mouse.setCursorPosition

Set the cursor position inside the window.

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

  1. void setCursorPosition(int x, int y)
    class Mouse
    @nogc static
    void
    setCursorPosition
    nothrow
    (
    int x
    ,
    int y
    )
  2. void setCursorPosition(const Vector2i pos)

Meta