UGameplayStatics::GetAllActorsOfClass

Find all Actors in the world of the specified class.