Function InputEventMouse.position

The local mouse position relative to the Viewport. If used in Control.guiInput, the position is relative to the current Control which is under the mouse.

Vector2 position() nothrow @property @nogc;

void position (
  Vector2 v
) nothrow @property @nogc;