DropdownMenuEventInfo.localMousePosition

public Vector2 localMousePosition;

Description

The position of the mouse if the event that triggered the dropdown menu to display was a mouse event.

The position is expressed in the coordinate system of the element that received the mouse event. If the event that triggered the dropdown menu to display was not a mouse event, the value of this property is zero.


Did you find this page useful? Please give it a rating: