UCheatManager::GetTarget

Retrieve the given PlayerContoller's current "target" [AActor](API\Runtime\Engine\GameFramework\AActor).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/CheatManager.h

Include

#include "GameFramework/CheatManager.h"

Source

/Engine/Source/Runtime/Engine/Private/CheatManager.cpp

Syntax

virtual AActor * GetTarget
(
    APlayerController * PlayerController,
    struct FHitResult & OutHit
)

Remarks

Retrieve the given PlayerContoller's current "target" AActor.

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