UWidgetInteractionComponent::Get2DHitLocation

Gets the last hit location on the widget in 2D, local pixel units of the render target.

Windows
MacOS
Linux

References

Module

UMG

Header

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

Include

#include "Components/WidgetInteractionComponent.h"

Source

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

Syntax

FVector2D Get2DHitLocation() const

Remarks

Gets the last hit location on the widget in 2D, local pixel units of the render target.

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