#  Door closing sound plays even if the door wasn’t opened 

**URL:** <https://forums.unrealengine.com/t/door-closing-sound-plays-even-if-the-door-wasn-t-opened/2670817>\
**Category:** Blueprint\
**Tags:** beginner, unreal-engine, question, Blueprint\
**Created:** [November 1, 2025, 7:23pm UTC](https://forums.unrealengine.com/t/door-closing-sound-plays-even-if-the-door-wasn-t-opened/2670817 "2025-11-01T19:23:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvilia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gvilia/32/1119736_2.png) [@gvilia](https://forums.unrealengine.com/u/gvilia)\
**Post date:** [November 1, 2025, 7:23pm UTC](https://forums.unrealengine.com/t/door-closing-sound-plays-even-if-the-door-wasn-t-opened/2670817/1 "2025-11-01T19:23:26Z")

</div>

![Снимок экрана 2025-11-01 175919](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/6/386991d665409aa4d33e05be524b34cc8dd0dabc.png)

 ![Снимок экрана 2025-11-01 175936](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/0/730a8731c636917a49de0924ec71a391cc185b72.png)

 ![Снимок экрана 2025-11-01 175945](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/8/9989332ba34e23c6094fef97e555736d239426b9.png)

 ![Снимок экрана 2025-11-01 175957](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/e/c/2ec922c97d14a8d41074e40f704debf9aca4f982.png)

 ![Снимок экрана 2025-11-01 180005](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/d/c0d00df6eb9f7f711c0693dabe647ecd12c3a3cf.png)

**Hi everyone,**  
I’m a beginner in Unreal Engine and I’m having some trouble with my door Blueprint logic.

Here’s what I have:

- The door **opens** when the player looks at it using a **line trace**.

- The door **closes automatically** when the player leaves the **trigger box**.

The problem is with the **sounds** :  
The opening sound works perfectly, but the **closing sound** plays **even if the player never opened the door** — it just triggers when the player walks out of the box.

How can I fix this so that the closing sound only plays **if the door was actually open**?

I’ve attached a screenshot of my Blueprint below for reference.  
Any help or advice would be greatly appreciated! 🙏

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 1, 2025, 7:41pm UTC](https://forums.unrealengine.com/t/door-closing-sound-plays-even-if-the-door-wasn-t-opened/2670817/2 "2025-11-01T19:41:46Z")

</div>

Have you checked the default value of Door Open?

Personally I would add a variable to track the direction of the timeline playback and use that to decide if you are playing the opening or closing door sound. (promote Direction to variable)

---

<div class="post-metadata">

**Author:** ![gvilia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gvilia/32/1119736_2.png) [@gvilia](https://forums.unrealengine.com/u/gvilia)\
**Post date:** [November 1, 2025, 8:57pm UTC](https://forums.unrealengine.com/t/door-closing-sound-plays-even-if-the-door-wasn-t-opened/2670817/3 "2025-11-01T20:57:25Z")

</div>

How do I do this? This is my first project, so I don’t really understand anything.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 1, 2025, 9:35pm UTC](https://forums.unrealengine.com/t/door-closing-sound-plays-even-if-the-door-wasn-t-opened/2670817/4 "2025-11-01T21:35:48Z")

</div>

Doors can get rather complicated. Right now your door only rotates in one direction. It will always rotate this way so if the character is on the side of the door and it open in on the character you will have him be pushed by the door or it will collide with the camera causing problems.

I would suggest following this tutorial that lerps the door rotation depending on the characters location relative to the door

External link not made by epic games (youtube tutorial)  
https://www.youtube.com/embed/6_8Q4izoGOk?feature=oembed&wmode=opaque

You can cache the direction of the timeline to a variable like this:

right click Direction

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

Promote to variable

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

You can use this information to know if the door is opening or clossing
