# Can I nest a blueprint within another blueprint?

**URL:** <https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757>\
**Category:** Blueprint\
**Tags:** unreal-engine, compositing, question, Blueprint\
**Created:** [January 23, 2015, 6:36am UTC](https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757 "2015-01-23T06:36:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hypersapien](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hypersapien](https://forums.unrealengine.com/u/hypersapien)\
**Post date:** [January 23, 2015, 6:36am UTC](https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757/1 "2015-01-23T06:36:35Z")

</div>

Hello there- I am new to UE4 and using blueprints. I have watched the introduction tutorial videos about Blueprints, and now I have a question: Can I nest blueprints within each other?

Example: I have one blueprint consisting of a handful of mesh parts, that combine to make a modular segment of a wall. I would then like to have a 2nd blueprint in which I can place several instances of the first blueprint, to construct a full room.

Is this possible?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_01dd28a6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_01dd28a6](https://forums.unrealengine.com/u/anonymous_user_01dd28a6)\
**Post date:** [January 23, 2015, 6:47am UTC](https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757/2 "2015-01-23T06:47:26Z")

</div>

You can sub-class off of blueprints. Either in C++ or in the blueprints.

---

<div class="post-metadata">

**Author:** ![hypersapien](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hypersapien](https://forums.unrealengine.com/u/hypersapien)\
**Post date:** [January 24, 2015, 6:24pm UTC](https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757/3 "2015-01-24T18:24:15Z")

</div>

Thank you for your response, unfortunately I don’t know C++, and I don’t know what it means to ‘sub-class off’ a blueprint.

However I did basically complete my objective by doing the following:

1. Place blueprint 1 into my level
2. Place blueprint 2 into my level
3. Select Both
4. On the bottom of the details pane, in the Blueprint category, click "Replace with Composited Blueprint. The 2 blueprints are now inserted into a 3rd blueprint, which you can name.

This is basically what I wanted to accomplish, however it doesn’t seem optimal, because I still can’t add new sub-blueprints to this composite without nesting them another level deeper.

---

<div class="post-metadata">

**Author:** ![BenjvC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenjvC](https://forums.unrealengine.com/u/BenjvC)\
**Post date:** [December 19, 2015, 4:32pm UTC](https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757/4 "2015-12-19T16:32:33Z")

</div>

Hello Mr. Keene, coming in late, but am seeking to nest one BP inside another, greatly appreciate a tip how to ‘sub-class off’ a BP. Thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_01dd28a6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_01dd28a6](https://forums.unrealengine.com/u/anonymous_user_01dd28a6)\
**Post date:** [December 21, 2015, 3:36am UTC](https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757/5 "2015-12-21T03:36:58Z")

</div>

When you create a blueprint it asks for what other blueprint to use as the parent. That is often an Actor, or another “common class”. But you can pick any blueprint as a parent.

 ![71414-blueprintparents.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/2/c527a75a608c0e02fb8f7cb371f781c4348beb67.png)

So a blueprint “is a” whatever its parent class is, and than adds to that.  
So if the parent blueprint is a Vehicle, then the blueprint may be a Car.  
The Vehicle has MaxSpeed, NumberOfWheels, GasTankSize.  
The Car then might add the TurnRadius is 10 meters. etc.

So a Car “IS A” Vehicle.

In Unreal Engine, maybe your Soldier blueprint’s parent is an Character.  
So the Soldier IS A Character, and the Character IS A Actor and Actor IS A Object.  
Object is the base class or parnet of ALL blueprints.

In effect the parent blueprint is nested inside the child blueprint.

Variables in a blueprint are a HAS A relationship. A Vehicle HAS A NumberOfSeats.  
A Soldier HAS A HitPoints.

IS A is called inheritance.

HAS A is called Agregation.

In both blueprints and C++ classes there is inheritance.

A blueprint is a template for an actual instance of the blueprint.  
So Soldier might be the blueprint or template or cookie cutter, and ChuckNorris is an actual specific instance of a Soldier (the cookie). When you add a blueprint to a map or scene in your game you are using the blueprint to create an actual instance.

Ok?

---

<div class="post-metadata">

**Author:** ![Flassari](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flassari](https://forums.unrealengine.com/u/Flassari)\
**Post date:** [May 1, 2016, 8:33pm UTC](https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757/6 "2016-05-01T20:33:36Z")

</div>

Yes, you can do it by adding a Child Actor Component to your blueprint and in the Details panel for it setting the Child Actor Class property to the desired child blueprint you want.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1c7cdd5d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1c7cdd5d](https://forums.unrealengine.com/u/anonymous_user_1c7cdd5d)\
**Post date:** [September 3, 2020, 12:58pm UTC](https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757/7 "2020-09-03T12:58:43Z")

</div>

I tried this and it worked perfectly for me. If you wand composition of blueprints, this is the answer.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1c7cdd5d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1c7cdd5d](https://forums.unrealengine.com/u/anonymous_user_1c7cdd5d)\
**Post date:** [September 3, 2020, 1:01pm UTC](https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757/8 "2020-09-03T13:01:47Z")

</div>

I feel like this answer is off target. The question is about using blueprints **within** other blueprints, so the solution is clearly agregation. The example given here is for inheritance, which will take OP down the wrong path.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1c7cdd5d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1c7cdd5d](https://forums.unrealengine.com/u/anonymous_user_1c7cdd5d)\
**Post date:** [September 3, 2020, 1:03pm UTC](https://forums.unrealengine.com/t/can-i-nest-a-blueprint-within-another-blueprint/304757/9 "2020-09-03T13:03:09Z")

</div>

don’t use subclassing, that’s something else. The top answer “adding a Child Actor Component” is the way to insert one blueprint into another.
