/Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h
Find the first Actor in the world of the specified class. This is a slow operation, use with caution e.g. do not use every frame.
Actor of the specified class.
static [AActor](API\Runtime\Engine\GameFramework\AActor) * GetActorOfClass ( const [UObject](API\Runtime\CoreUObject\UObject\UObject) * WorldContextObject, [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [AActor](API\Runtime\Engine\GameFramework\AActor) > ActorClass )