UWidgetComponent::GetHitWidgetPath

Returns the list of widgets with their geometry and the cursor position transformed into this Widget space.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h

Include

#include "Components/WidgetComponent.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/WidgetComponent.cpp

Syntax

TArray< FWidgetAndPointer > GetHitWidgetPath
(
    FVector2D WidgetSpaceHitCoordinate,
    bool bIgnoreEnabledStatus,
    float CursorRadius
)

Remarks

Returns the list of widgets with their geometry and the cursor position transformed into this Widget space. The widget space is expressed as a Vector2D.

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