Click or drag to resize
InputUtilsGUIMousePosition Property
Returns the current mouse position on the GUI. Considers that the coordinate system of the world starts in the top-left corner, but the coordinate system of the GUI starts in the bottom-left corner, so the y coordinate is inverted.

Namespace: Slash.Unity.Common.Input
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public static Vector2 GUIMousePosition { get; }

Property Value

Type: Vector2
See Also