# Difference between add child actor component and spawn actor from class

**URL:** <https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640>\
**Category:** Blueprint\
**Tags:** add-component, spawning, unreal-engine, spawning-actors, Blueprint, question\
**Created:** [May 27, 2019, 5:17am UTC](https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640 "2019-05-27T05:17:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Agent\_Sckit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Agent\_Sckit](https://forums.unrealengine.com/u/Agent_Sckit)\
**Post date:** [May 27, 2019, 5:17am UTC](https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640/1 "2019-05-27T05:17:17Z")

</div>

Good day I’m a newbie here. I’m trying to identify the difference between the two bacause it does the same (spawns things to the world). Is there an advantage of each or such features that the other doesn’t have when spawning things? Thanks!

 ![278056-screenshot.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/b/37bc9458359e25c0843326a029a28bb336d49051.png)

---

<div class="post-metadata">

**Author:** ![Bojann](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bojann/32/906560_2.png) [@Bojann](https://forums.unrealengine.com/u/Bojann)\
**Post date:** [May 27, 2019, 7:41am UTC](https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640/2 "2019-05-27T07:41:59Z")

</div>

So the difference there is that child actor needs to have “parent”. And parent is able to control it because it always has reference to it.

On the other hand, if you spawn regular actor (not child), you don’t have reference to it in your blueprint (or C++ code), so you need to get it on another way in order to control it.

---

<div class="post-metadata">

**Author:** ![Agent\_Sckit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Agent\_Sckit](https://forums.unrealengine.com/u/Agent_Sckit)\
**Post date:** [May 27, 2019, 8:21am UTC](https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640/3 "2019-05-27T08:21:11Z")

</div>

Thanks for the reply but, is there a difference between the function “add child actor component” and “spawn actor from class”? Those two put actors in game if it is called (see attached image).

---

<div class="post-metadata">

**Author:** ![DonBusso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonBusso](https://forums.unrealengine.com/u/DonBusso)\
**Post date:** [May 27, 2019, 8:30am UTC](https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640/4 "2019-05-27T08:30:05Z")

</div>

Hey you might want to check some of these videos from Mathew Wadstein. He has a lot of videos explaining and giving examples how to use certain nodes.

https://www.youtube.com/watch?v=jthUuQ5AweY

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 27, 2019, 9:13am UTC](https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640/5 "2019-05-27T09:13:33Z")

</div>

- Actor - a full actor with all the features we love and cherish
- Actor Component - a piece of modular, reusable functionality that can be added to Actors
- Child Actor Component - a specialised Component that Spawns and holds onto an _entire_ Actor

* * *

Imagine that you need a complex Actor that will be made out of many different Actors. Like a car.

So you create a _Car Actor_, a _Wheel Actor_, an _Engine Actor_, a _Fuel Tank Actor_, a _PassengerSeat Actor_ and so on, each element responsible for different functionality while the Car just holds them together.

 ![278067-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/c/80c29a25d295a7386a0eb689c6ce34567929a292.png)

Now you can give the Car actor _Child Actor Components_ and each will _automagically_ spawn an Engine actor, a Fuel Tank actor and so on.

In your example, you’re _dynamically_ adding _Child Actor Components_ to an actor (you’re actually adding it to the Level Blueprint which could make sense is some situations).

Perhaps the player upgraded their vehicle and can now have an extra Fuel Tank with Nitro Fuel or GIANT ROTATING SCYTHES in front, because why not ¯\_(ツ)\_/¯

---

<div class="post-metadata">

**Author:** ![DonBusso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonBusso](https://forums.unrealengine.com/u/DonBusso)\
**Post date:** [May 27, 2019, 9:26am UTC](https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640/6 "2019-05-27T09:26:01Z")

</div>

Great explanation, as always! 🙂

---

<div class="post-metadata">

**Author:** ![Agent\_Sckit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Agent\_Sckit](https://forums.unrealengine.com/u/Agent_Sckit)\
**Post date:** [June 1, 2019, 1:27am UTC](https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640/7 "2019-06-01T01:27:33Z")

</div>

Very enlightening andthanks for the info but I have a followup question… what is the difference between the two function? “add child actor component” and “spawn actor from class”. Both of it can spawn on the map.

![278554-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/a/d2a5a90dea8f4fd8e75a98da929a1f2afb2c1765.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 1, 2019, 6:40am UTC](https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640/8 "2019-06-01T06:40:07Z")

</div>

I thought I answered it above in fine detail.

_Spawn Actor From Class_ spawns an actor.

_Add Child Actor Component_ creates a component that spawns an actor.

---

<div class="post-metadata">

**Author:** ![Willard720](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Willard720](https://forums.unrealengine.com/u/Willard720)\
**Post date:** [December 5, 2022, 5:39am UTC](https://forums.unrealengine.com/t/difference-between-add-child-actor-component-and-spawn-actor-from-class/449640/9 "2022-12-05T05:39:59Z")

</div>

Lmao, he literally answers your question, and your follow up question is the same question you’ve been asking again and again. The one he already answered. Facepalm.
