Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetNodeAt(float, float, out AccessibilityNode)

Tries to retrieve the AccessibilityNode at the given screen coordinates.
Read time 1 minuteLast updated 6 days ago

Definition

TryGetNodeAt(float, float, AccessibilityNode)

public bool TryGetNodeAt(float horizontalPosition, float verticalPosition, out AccessibilityNode node)

Parameters

horizontalPosition

The horizontal position on the screen.

verticalPosition

The vertical position on the screen.

The node found at the given screen coordinates, or
null
if there is no node at that position.

Returns

Type

Description

bool
true
if the node is found and
false
otherwise.