Get 2DHit Location

Get 2DHit Location

Windows
MacOS
Linux

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

Target is Widget Interaction Component

Get 2DHit Location
Target
Return Value
X0.0
Y0.0

Inputs

Target
Widget Interaction Component Object Reference

Outputs

Return Value
Vector 2D Structure

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