Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidgetInteractionComponent
Description
Set custom hit result. This is only taken into account if InteractionSource is set to EWidgetInteractionSource::Custom.
| Name | SetCustomHitResult |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h |
| Include Path | #include "Components/WidgetInteractionComponent.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/WidgetInteractionComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Interaction")
void SetCustomHitResult
(
const FHitResult & HitResult
)