Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

DropdownMenuEventInfo.mousePosition

public Vector2 mousePosition;

Description

The mouse position expressed in the global coordinate system if the event that triggered the dropdown menu to display was a mouse event.

If the event that triggered the dropdown menu to display was not a mouse event, this property is zero.