# sound will not turn off once my button has been pressed

**URL:** <https://forums.unrealengine.com/t/sound-will-not-turn-off-once-my-button-has-been-pressed/390042>\
**Category:** Audio\
**Tags:** box-trigger, unreal-engine, UE4, Blueprint, question\
**Created:** [April 5, 2017, 1:53pm UTC](https://forums.unrealengine.com/t/sound-will-not-turn-off-once-my-button-has-been-pressed/390042 "2017-04-05T13:53:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wewillywilkie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wewillywilkie](https://forums.unrealengine.com/u/wewillywilkie)\
**Post date:** [April 5, 2017, 1:53pm UTC](https://forums.unrealengine.com/t/sound-will-not-turn-off-once-my-button-has-been-pressed/390042/1 "2017-04-05T13:53:29Z")

</div>

so im trying to make a little game where you enter the room and the phone rings. the player goes to the phone and presses E but it will not turn the sound off. i know the button works as i put a print string on it

 ![132973-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/a/8da058da79e3a89e70ebbe51527d7748d1c88004.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b90d4050](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b90d4050](https://forums.unrealengine.com/u/anonymous_user_b90d4050)\
**Post date:** [April 5, 2017, 3:55pm UTC](https://forums.unrealengine.com/t/sound-will-not-turn-off-once-my-button-has-been-pressed/390042/2 "2017-04-05T15:55:39Z")

</div>

Hello wewillywilkie!

I will try to help out if I can but things might be different depending on how you are planning on setting up your game. However I would first approach this by moving your blueprint away from the level blueprint and into an actor blueprint.

 ![132956-phonebp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/0/100169c337444927f1e932f3996e229db34eced7.jpeg)

This is just an example setup of your blueprint with only three components: Phone, Audio, and a Trigger Box.

 ![132957-phonebpeventgraph.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/8/ed8e30e6d0a463d6e83388323ebf4be37c824464.jpeg)

This part in the event graph just allows input when your character enters that trigger box and disables input when your character leaves (in your case getting too far away from the phone).

 ![132958-phonebpeventgraph2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/d/24df0db5d80c28e9d2b931dc699144b1cb21825f.png)

You can then trigger/play your audio on and off with your E key.

I hope this helps or gets you a little closer to what you are trying to achieve. Let me know if you wanted something different or need more help!

---

<div class="post-metadata">

**Author:** ![wewillywilkie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wewillywilkie](https://forums.unrealengine.com/u/wewillywilkie)\
**Post date:** [April 5, 2017, 7:35pm UTC](https://forums.unrealengine.com/t/sound-will-not-turn-off-once-my-button-has-been-pressed/390042/3 "2017-04-05T19:35:41Z")

</div>

i’ve done what you have done but when i go to it it still doesn’t turn off

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b90d4050](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b90d4050](https://forums.unrealengine.com/u/anonymous_user_b90d4050)\
**Post date:** [April 6, 2017, 1:45am UTC](https://forums.unrealengine.com/t/sound-will-not-turn-off-once-my-button-has-been-pressed/390042/4 "2017-04-06T01:45:55Z")

</div>

Are you triggering the audio file from your level or your blueprint? Could you also forward me the audio file?

---

<div class="post-metadata">

**Author:** ![wewillywilkie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wewillywilkie](https://forums.unrealengine.com/u/wewillywilkie)\
**Post date:** [April 6, 2017, 6:06pm UTC](https://forums.unrealengine.com/t/sound-will-not-turn-off-once-my-button-has-been-pressed/390042/5 "2017-04-06T18:06:27Z")

</div>

iv figured it out now but thank you without you help id be stuck on this for so long, there is another issue i have if you could help me

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b90d4050](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b90d4050](https://forums.unrealengine.com/u/anonymous_user_b90d4050)\
**Post date:** [April 7, 2017, 12:56pm UTC](https://forums.unrealengine.com/t/sound-will-not-turn-off-once-my-button-has-been-pressed/390042/6 "2017-04-07T12:56:55Z")

</div>

What is it you are having an issue on? I’ll see if I can help.
