Window.mousePosition

Wraps SDL_WarpMouseInWindow which sets the mouse position in the window

  1. int[2] mousePosition()
  2. void mousePosition(int[2] newMousePosition)
    class Window
    @property @trusted
    void
    mousePosition

Parameters

newMousePosition int[2]

coordinate of the mouse position to set

Meta