ConvertMouseLocationToWorldSpace

ConvertMouseLocationToWorldSpace

Windows
MacOS
Linux

Convert current mouse 2D position to World Space 3D position and direction. Returns false if unable to determine value. *

Target is Player Controller

ConvertMouseLocationToWorldSpace
Target
World Location
X0
Y 0
Z 0
World Direction
X0
Y 0
Z 0
Return Value

Inputs

Target
Player Controller Object Reference

Outputs

World Location
Vector
World Direction
Vector
Return Value
Boolean

Convert current mouse 2D position to World Space 3D position and direction. Returns false if unable to determine value. *

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