# Door Blueprint in another blueprint doesn't work

**URL:** <https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [May 17, 2024, 2:36pm UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547 "2024-05-17T14:36:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hubitho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hubitho](https://forums.unrealengine.com/u/Hubitho)\
**Post date:** [May 17, 2024, 2:36pm UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/1 "2024-05-17T14:36:51Z")

</div>

Hey there! It’s my first time asking for help here: I have a question about blueprints. I’ve created this interactive door blueprint which works completely fine while it stands alone, but the same one put in the house blueprint won’t work. Anyone can please help me?

Just for info, there is another interactive blueprint in the same house blueprint (a sliding window) and that works perfectly fine. Idk what to look for.

Sorry for the close range of the images, but it’s just to visualize the issue.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/7/0f7e5336c37ee7ba7d6b54ebe1405ed5df122092.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/b/e3b900518f57f5ce10d1877808d903ffe486cbb1.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 17, 2024, 2:40pm UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/2 "2024-05-17T14:40:10Z")

</div>

In your code, you have an input event ( key e or something ), it needs to be set to not consume input

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/6/ee67d02cc6472ba8969f12760d1b827352c4db40.png)

---

<div class="post-metadata">

**Author:** ![Hubitho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hubitho](https://forums.unrealengine.com/u/Hubitho)\
**Post date:** [May 20, 2024, 6:28am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/3 "2024-05-20T06:28:13Z")

</div>

I don’t have a key event to look for, but I’m using a blueprint interface: the only thing i’ve found about “consume input” is in the “Input action” page and it was “Consume Lower Priority Enhanced Input Mappings”. Toggling it off didn’t change anything.

Thanks for the reply, by the way!

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 20, 2024, 7:13am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/4 "2024-05-20T07:13:20Z")

</div>

Ok, when you say ‘in the house blueprint’, can you be a bit more specific?

Is it just in the level with the house BP, or is it a child actor actually IN the blueprint, or…?

---

<div class="post-metadata">

**Author:** ![Hubitho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hubitho](https://forums.unrealengine.com/u/Hubitho)\
**Post date:** [May 20, 2024, 8:38am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/5 "2024-05-20T08:38:54Z")

</div>

I’ll try to explain, sorry if I do some mistakes but I’m self-taught.

I’ve created an actor blueprint for the whole house, and I’ve switched the door meshes with door blueprints (so child blueprints, yes), in order to make them interactable (internal doors are automatic, casting mechanism). Usually it worked with other houses, but in this specific house (and in another one at the moment) it won’t work.

I guess it’s something related to collisions, because as long as I move the blueprint out of the wall, it works, but the moment I encase it in the walls (where it belongs, of course), it doesn’t work.

Something weird happened also right now while I was testing: I put the standalone door blueprint away and left it there, tried it and obviously worked, I went back to the house and both door worked. I deleted the standalone door, got back into the simulation and doors won’t work anymore.

What’s happening?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 20, 2024, 8:49am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/6 "2024-05-20T08:49:30Z")

</div>

How does the door BP determine its being interacted with? Do you do a line trace, or is there an overlap etc?

Can you show the door code?

---

<div class="post-metadata">

**Author:** ![Hubitho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hubitho](https://forums.unrealengine.com/u/Hubitho)\
**Post date:** [May 20, 2024, 8:54am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/7 "2024-05-20T08:54:47Z")

</div>

No overlap, I’ll share you the door code and also the interact code, maybe it can be useful.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/6/ba67f79b78d6e7e2b17841fd7470af6be0b95595.png)

---

<div class="post-metadata">

**Author:** ![Hubitho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hubitho](https://forums.unrealengine.com/u/Hubitho)\
**Post date:** [May 20, 2024, 8:55am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/8 "2024-05-20T08:55:23Z")

</div>

This is the interact code.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/c/cacb53ceda82867ec55bb2dfd2d242b6b636716b.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 20, 2024, 8:56am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/9 "2024-05-20T08:56:40Z")

</div>

Ok, try putting a print string here

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/f/c1f50fb74e95007689dbb869ef7bb26c9908fca5.png)

Does it print?

---

<div class="post-metadata">

**Author:** ![Hubitho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hubitho](https://forums.unrealengine.com/u/Hubitho)\
**Post date:** [May 20, 2024, 8:58am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/10 "2024-05-20T08:58:32Z")

</div>

Yup, it does.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/1/9418d734cbce8cefa9849a46df1e3b25758c73d8.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 20, 2024, 8:58am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/11 "2024-05-20T08:58:45Z")

</div>

Oh, I think I’ve got it.

You’re getting the wall AND the door AND the floor etc in that sphere trace.

You probably need to loop over that array

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/5/3b587d197a3b445d6c63217a03159ce239a9c1e8.png)

cast each result to your door 🙂

---

<div class="post-metadata">

**Author:** ![Hubitho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hubitho](https://forums.unrealengine.com/u/Hubitho)\
**Post date:** [May 20, 2024, 9:02am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/12 "2024-05-20T09:02:09Z")

</div>

Thank you so much!

Ehm…I’ll see if I find tutorials for that to not bother you anymore, idk how to do that 😅

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 20, 2024, 9:06am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/13 "2024-05-20T09:06:08Z")

</div>

Very easy, instead of GET(0), use a ForEach loop

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/4/9c4c4526a435f6ac0a071097826fa0f1a08d700e.png)

---

<div class="post-metadata">

**Author:** ![Hubitho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hubitho](https://forums.unrealengine.com/u/Hubitho)\
**Post date:** [May 20, 2024, 9:12am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/15 "2024-05-20T09:12:54Z")

</div>

Mmm…i can see a problem here, because it’s an interact event, not a casting: this should work with all the doors in the level, not only this one 🤔

In fact, it doesn’t work anymore with other doors that were working before this editing.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 20, 2024, 9:16am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/16 "2024-05-20T09:16:52Z")

</div>

Can you show the code now?

Instead of casting, you could use the node ‘does implement interface’

---

<div class="post-metadata">

**Author:** ![Hubitho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hubitho](https://forums.unrealengine.com/u/Hubitho)\
**Post date:** [May 20, 2024, 9:20am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/17 "2024-05-20T09:20:32Z")

</div>

Well, i’ve done a bit more testing and I’ve seen that it _does_ open the doors, but it’s kinda stuttering, like, you have to click few times to open or close the door.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/7/86731b69eb5624f2f16815b17f54fd1d4e746791.png)

EDIT: oh no, I’ll be more specific, I’ve noticed that if I stand with the edge of the sphere slightly touching the door, it works fine. One step closer or further it won’t.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 20, 2024, 9:22am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/18 "2024-05-20T09:22:35Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/1/f015304760f566b678e4d8c4d93e3161f4c9d86a.png)

Do you have this code on tick, or…?

---

<div class="post-metadata">

**Author:** ![Alejandroagyra](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alejandroagyra](https://forums.unrealengine.com/u/Alejandroagyra)\
**Post date:** [May 20, 2024, 9:24am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/19 "2024-05-20T09:24:53Z")

</div>

EDIT: oh no, I’ll be more specific, I’ve noticed that if I stand with the edge of the sphere slightly touching the door, it works fine. One step closer or further it won’t.

---

<div class="post-metadata">

**Author:** ![Hubitho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hubitho](https://forums.unrealengine.com/u/Hubitho)\
**Post date:** [May 20, 2024, 9:26am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/20 "2024-05-20T09:26:55Z")

</div>

It is enabled on the door blueprint, but anyway, I’m happy. Surely in future builds I’ll implement line trace or something that you can interact with while pointing with the cursor.

Thank you very much for your patience and your kindness!

---

<div class="post-metadata">

**Author:** ![doctorpepperdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@doctorpepperdan](https://forums.unrealengine.com/u/doctorpepperdan)\
**Post date:** [September 27, 2024, 2:16am UTC](https://forums.unrealengine.com/t/door-blueprint-in-another-blueprint-doesnt-work/1860547/21 "2024-09-27T02:16:51Z")

</div>

Have you checked to verify collision is not preventing the door from opening?
