TryGetNodeAt(float, float, out AccessibilityNode)
Tries to retrieve the node at the given position on the screen.
Read time 1 minuteLast updated 17 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Accessibility
- Assembly: UnityEngine.AccessibilityModule
TryGetNodeAt(float, float, AccessibilityNode)
public bool TryGetNodeAt(float horizontalPosition, float verticalPosition, out AccessibilityNode node)
Parameters
The horizontal position on the screen.
The vertical position on the screen.
The node found at that screen position, or if there are no nodes at that position.
nullReturns
Type | Description |
|---|---|
| bool | Returns true if a node is found and false otherwise. |