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)
  2. void setGlobalCursorPosition(const Vector2i pos)
    class Mouse
    @nogc static
    void
    setGlobalCursorPosition
    nothrow
    (
    const Vector2i pos
    )

Meta