IPanel.Pick

Declaration

public UIElements.VisualElement Pick(Vector2 point);

Parameters

point World coordinates.

Returns

VisualElement The top-most VisualElement overlapping the provided point. Null if none was found.

Description

Finds the top-most VisualElement overlapping the provided point.

It doesn't return the following:

Additional resources: VisualElement.visible, IStyle.display, VisualElement.pickingMode


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