/Engine/Source/Runtime/Engine/Public/UnrealClient.h
Returns all element handles found within a specified region. InRect must be entirely within the viewport's client area. If the hit proxies are not cached, this will call ViewportClient->Draw with a hit-testing canvas.
void GetElementHandlesInRect ( FIntRect InRect, FTypedElementListRef OutElementHandles )