https://docs.unrealengine.com/latest/INT/BlueprintAPI/Utilities/GetAllActorsOfClass/

docs.unrealengine.com docs.unrealengine.com