Language:
Discover
By Skill Level
By Category

Get Focal Location

Choose your OS:

Returns the location the PlayerController is focused on. If there is a possessed Pawn, returns the Pawn's location. If there is a spectator Pawn, returns that Pawn's location. Otherwise, returns the PlayerController's spawn location (usually the last known Pawn location after it has died).

Target is Player Controller

Get Focal Location
Target
Return Value
X0
Y 0
Z 0

Inputs

Target
Player Controller Object Reference

Outputs

Return Value
Vector