Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Pick(Vector2)

Finds the top-most VisualElement overlapping the provided point.
Read time 1 minuteLast updated 10 days ago

Definition

VisualElement Pick(Vector2 point)

Parameters

point

Coordinates in panel space.

Returns

Type

Description

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

Remarks

It doesn't return the following:
Additional Resources: _visible, _display, _pickingMode