Function InputEventMouse.globalPosition

The global mouse position relative to the current Viewport when used in Control.guiInput, otherwise is at 0,0.

Vector2 globalPosition() nothrow @property @nogc;

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