Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PickAll(Vector2, List<VisualElement>)

Finds all VisualElements overlapping the provided point.
Read time 1 minuteLast updated 12 days ago

Definition

VisualElement PickAll(Vector2 point, List<VisualElement> picked)

Parameters

point

Coordinates in panel space.

If not null, the list is cleared and filled with all VisualElements that overlap the specified point.

Returns

Type

Description

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

Remarks

It doesn't return the following: