# How to make audio not restart when walk in and out of a trigger? UE5

**URL:** <https://forums.unrealengine.com/t/how-to-make-audio-not-restart-when-walk-in-and-out-of-a-trigger-ue5/561648>\
**Category:** Editor Scripting\
**Tags:** Editor-Scripting, unreal-engine, UE5-0, question\
**Created:** [May 20, 2022, 3:28am UTC](https://forums.unrealengine.com/t/how-to-make-audio-not-restart-when-walk-in-and-out-of-a-trigger-ue5/561648 "2022-05-20T03:28:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChildEat3r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChildEat3r](https://forums.unrealengine.com/u/ChildEat3r)\
**Post date:** [May 20, 2022, 3:28am UTC](https://forums.unrealengine.com/t/how-to-make-audio-not-restart-when-walk-in-and-out-of-a-trigger-ue5/561648/1 "2022-05-20T03:28:56Z")

</div>

My goal is to make it so when I walk out of a trigger the end overlap fades out the music. Then when I walk back in, the music continues where it left off.  
Here is a photo of my Event Graph (In level BP).

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/c/5bc59e6718432f5da0c1f9017aaf4037543f6591.png)  
Here’s the problem - The Music restarts after I walk back into the trigger. I need the music to continue. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Polite\_Muon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Polite\_Muon](https://forums.unrealengine.com/u/Polite_Muon)\
**Post date:** [May 29, 2022, 10:30pm UTC](https://forums.unrealengine.com/t/how-to-make-audio-not-restart-when-walk-in-and-out-of-a-trigger-ue5/561648/2 "2022-05-29T22:30:08Z")

</div>

Hello ChildEat3r, welcome to the community.

You have a very strong start so far in your implementation. There are a couple of nodes you can also use. I have provided an image below. I grabbed the player reference on begin play and made a float for the fade out duration with a delay as it seems the fade out immediately goes to the set paused node when I exit the overlap.

Other than those small changes, you were right on track.

 ![FadeInandOut](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/3/e/83ef0ff23711b0020de7662f31de15a9a677e3b7.png)

I hope this answer helps you along the way.
