# button click sound require blueprint delay

**URL:** <https://forums.unrealengine.com/t/button-click-sound-require-blueprint-delay/415148>\
**Category:** Audio\
**Tags:** delay, unreal-engine, Blueprint, question\
**Created:** [January 21, 2018, 11:16am UTC](https://forums.unrealengine.com/t/button-click-sound-require-blueprint-delay/415148 "2018-01-21T11:16:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krakinoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krakinoz](https://forums.unrealengine.com/u/Krakinoz)\
**Post date:** [January 21, 2018, 11:16am UTC](https://forums.unrealengine.com/t/button-click-sound-require-blueprint-delay/415148/1 "2018-01-21T11:16:24Z")

</div>

Hello there. If I want all my buttons to play my “pop” sound on clicked, I need to add 0.5 delay in my blueprint on roughly half of the buttons. Even though it’s the same button just on 2 different HUD displays, one may work and the other just won’t play a sound without the added delay. Anyone able to explain why this is?

Thank you.

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [January 21, 2018, 11:56am UTC](https://forums.unrealengine.com/t/button-click-sound-require-blueprint-delay/415148/2 "2018-01-21T11:56:22Z")

</div>

Hey there, can you show the code for the sound and delay?

---

<div class="post-metadata">

**Author:** ![Krakinoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krakinoz](https://forums.unrealengine.com/u/Krakinoz)\
**Post date:** [January 21, 2018, 11:59am UTC](https://forums.unrealengine.com/t/button-click-sound-require-blueprint-delay/415148/3 "2018-01-21T11:59:24Z")

</div>

I need this delay, for the pop sound to work on half of the buttons (roughly). Only on cellphone, it works fine without the delay on pc. There is no extra stress on the UMG on the buttons working with sound, and buttons not working with sound.

 ![227847-screenshot-2018-01-21-125719.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/d/ecd2452ee64aca3bec1480cad64b6c6ae3271973.png)

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [January 21, 2018, 12:15pm UTC](https://forums.unrealengine.com/t/button-click-sound-require-blueprint-delay/415148/4 "2018-01-21T12:15:55Z")

</div>

From that screenshot you are immediately playing the sound, waiting 0.05 seconds and creating a new widget and adding it to the viewport while remove all widgets (is this supposed to be to delete the current widget? i usually use remove from parent)

---

<div class="post-metadata">

**Author:** ![Krakinoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krakinoz](https://forums.unrealengine.com/u/Krakinoz)\
**Post date:** [January 21, 2018, 12:29pm UTC](https://forums.unrealengine.com/t/button-click-sound-require-blueprint-delay/415148/5 "2018-01-21T12:29:08Z")

</div>

I could actually use remove parent, to make the menu more efficient I suppose. Would it do anything to load times? My menu is instant as is, when buttons are clicked.

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [January 21, 2018, 12:34pm UTC](https://forums.unrealengine.com/t/button-click-sound-require-blueprint-delay/415148/6 "2018-01-21T12:34:11Z")

</div>

Why are you doing a delay of 0.05? that is 50 ms not 500 ms.

---

<div class="post-metadata">

**Author:** ![Krakinoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krakinoz](https://forums.unrealengine.com/u/Krakinoz)\
**Post date:** [January 21, 2018, 1:56pm UTC](https://forums.unrealengine.com/t/button-click-sound-require-blueprint-delay/415148/7 "2018-01-21T13:56:15Z")

</div>

Because it’s all I need for the pop sound to work.

---

<div class="post-metadata">

**Author:** ![DurrinTreyvan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DurrinTreyvan](https://forums.unrealengine.com/u/DurrinTreyvan)\
**Post date:** [April 4, 2025, 1:28pm UTC](https://forums.unrealengine.com/t/button-click-sound-require-blueprint-delay/415148/8 "2025-04-04T13:28:03Z")

</div>

Did you ever find a solution for this? This is very annoying… i don’t know why there is a delay in playing the sound and I haven’t found anywhere else that solves this problem. I have tried pre-caching these audio files and it still doesn’t help.
