IAccessibleWindow::GetChildAtPosition

Finds the deepest accessible widget in the hierarchy at the specified coordinates.

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/Accessibility/GenericAccessibleInterfaces.h

Include

#include "GenericPlatform/Accessibility/GenericAccessibleInterfaces.h"

Syntax

TSharedPtr< IAccessibleWidget > GetChildAtPosition
(
    int32 X,
    int32 Y
)

Remarks

Finds the deepest accessible widget in the hierarchy at the specified coordinates. The window may return a pointer to itself in the case where there are no accessible children at the position. This could return nullptr in the case where the coordinates are outside the window bounds.

Returns

The deepest widget in the UI heirarchy at X,Y

Parameters

Parameter

Description

X

The X coordinate in absolute screen space

Y

The Y coordinate in absolute screen space

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss