# I need help connecting the code (or functionality) from one blueprint into another blueprint." 

**URL:** <https://forums.unrealengine.com/t/i-need-help-connecting-the-code-or-functionality-from-one-blueprint-into-another-blueprint/2682971>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [December 7, 2025, 9:28pm UTC](https://forums.unrealengine.com/t/i-need-help-connecting-the-code-or-functionality-from-one-blueprint-into-another-blueprint/2682971 "2025-12-07T21:28:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sampa\_Moon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sampa_moon/32/1132375_2.png) [@Sampa\_Moon](https://forums.unrealengine.com/u/Sampa_Moon)\
**Post date:** [December 7, 2025, 9:28pm UTC](https://forums.unrealengine.com/t/i-need-help-connecting-the-code-or-functionality-from-one-blueprint-into-another-blueprint/2682971/1 "2025-12-07T21:28:09Z")

</div>

h im new to this, I have this blueprint code for my door. It works and everything but it doesn’t have any sound how can I make it have a sound when you open the door and a and a separate sound when you close the door

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/1/ef1b3f009608b74575bc34994d1c696e69e750a8.png)I followed this YouTube tutorials

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/6/4c652ac4b5d5189d7ff604b505ddce989b40cfc9.jpeg "How to Open a Door In UE5") ](https://www.youtube.com/watch?v=grrBCSLMBcc)

---

<div class="post-metadata">

**Author:** ![Doctor\_Kannon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/doctor_kannon/32/1130101_2.png) [@Doctor\_Kannon](https://forums.unrealengine.com/u/Doctor_Kannon)\
**Post date:** [December 8, 2025, 12:26am UTC](https://forums.unrealengine.com/t/i-need-help-connecting-the-code-or-functionality-from-one-blueprint-into-another-blueprint/2682971/2 "2025-12-08T00:26:32Z")

</div>

Add your PlaySound nodes before the timeline.

---

<div class="post-metadata">

**Author:** ![Sampa\_Moon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sampa_moon/32/1132375_2.png) [@Sampa\_Moon](https://forums.unrealengine.com/u/Sampa_Moon)\
**Post date:** [December 8, 2025, 6:35pm UTC](https://forums.unrealengine.com/t/i-need-help-connecting-the-code-or-functionality-from-one-blueprint-into-another-blueprint/2682971/4 "2025-12-08T18:35:53Z")

</div>

yes I tried it but that, but I want a sound for when the door opens and a different sound when it closes

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [December 8, 2025, 10:21pm UTC](https://forums.unrealengine.com/t/i-need-help-connecting-the-code-or-functionality-from-one-blueprint-into-another-blueprint/2682971/5 "2025-12-08T22:21:48Z")

</div>

Hey @Sampa_Moon! Welcome to the forums!

Do you see on the timeline where it says “Direction”? You can drag off of that and use a “Switch on Enum” node to determine the flow, and have an option for forward and an option for reverse! 🙂 Then you have full control over what’s happening based on the direction. Hope that helps! 🙂

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [December 17, 2025, 10:01pm UTC](https://forums.unrealengine.com/t/i-need-help-connecting-the-code-or-functionality-from-one-blueprint-into-another-blueprint/2682971/6 "2025-12-17T22:01:25Z")

</div>

Hey @Sampa_Moon! Did you get it figured out? Let us know how it went/how it’s going!
