UEditorUtilityLibrary::GetActorReference

Attempts to find the actor specified by PathToActor in the current editor world

Windows
MacOS
Linux

References

Module

Blutility

Header

/Engine/Source/Editor/Blutility/Public/EditorUtilityLibrary.h

Include

#include "EditorUtilityLibrary.h"

Source

/Engine/Source/Editor/Blutility/Private/EditorUtilityLibrary.cpp

Syntax

AActor * GetActorReference
(
    FString PathToActor
)

Remarks

Attempts to find the actor specified by PathToActor in the current editor world

Returns

A reference to the actor, or none if it wasn't found

Parameters

Parameter

Description

PathToActor

The path to the actor (e.g. PersistentLevel.PlayerStart)

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