Get Viewport Cursor Information

Get Viewport Cursor Information

Windows
MacOS
Linux

Retrieve information about the viewport under the mouse cursor.

Target is Geo Referencing Editor BPLibrary

Get Viewport Cursor Information
Focused
Screen Location
X0.0
Y0.0
World Location
X0
Y 0
Z 0
World Direction
X0
Y 0
Z 0

Inputs

In
Exec

Outputs

Out
Exec
Focused
Boolean

If the Level editor not are in focus it will return false.

Screen Location
Vector 2D Structure

Viewport-Space position of cursor.

World Location
Vector

Location of viewport origin (camera) in world space.

World Direction
Vector

Direction of viewport (camera) in world space.

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