Function Viewport.getMousePosition

Returns the mouse position relative to the viewport.

Vector2 getMousePosition() nothrow @nogc const;