Pick(Vector2)
Returns the top element at this position. Will not return elements with pickingMode set to PickingMode.Ignore.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
VisualElement Pick(Vector2 point)
Parameters
World coordinates.
Returns
Type | Description |
|---|---|
| VisualElement | Top VisualElement at the position. Null if none was found. |