# How to bind an event to Audio Finished

**URL:** <https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085>\
**Category:** Audio\
**Tags:** binding, unreal-engine, question\
**Created:** [November 6, 2020, 9:00am UTC](https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085 "2020-11-06T09:00:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![LiftPizzas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LiftPizzas](https://forums.unrealengine.com/u/LiftPizzas)\
**Post date:** [November 6, 2020, 9:00am UTC](https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085/1 "2020-11-06T09:00:52Z")

</div>

I’ve tried several different things and none of them seem to want to work for me.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 6, 2020, 8:41pm UTC](https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085/2 "2020-11-06T20:41:21Z")

</div>

I don’t know if you can specifically bind to a sound ending ( I don’t think so ), but you can do this:

 ![321322-screenshot-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/4/c54a5ee193d427ef4ae8ec482e07e877da59e72f.jpeg)

---

<div class="post-metadata">

**Author:** ![LiftPizzas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LiftPizzas](https://forums.unrealengine.com/u/LiftPizzas)\
**Post date:** [November 7, 2020, 5:55am UTC](https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085/3 "2020-11-07T05:55:52Z")

</div>

Wow, this actually posted? I had a bunch of other stuff typed in and it dumped me to some other screen. This forum is absurd, it logs me out every 5 seconds. I have to log in and quickly copy/paste everything I want to post before some invisible timer expires.

Anyway there is specifically an event called OnAudioFinished. I’d attach a screenshot but there’s now no attach button anywhere either.

---

<div class="post-metadata">

**Author:** ![LiftPizzas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LiftPizzas](https://forums.unrealengine.com/u/LiftPizzas)\
**Post date:** [November 7, 2020, 8:14am UTC](https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085/4 "2020-11-07T08:14:08Z")

</div>

I’m unable to get beyond what’s in the screenshot. I can create a function or a custom function, but cannot get it to attach/connect/whatever to the CreateEvent node. I need to send an “index” as a parameter to the function/event so the signature has to include that. I also can’t figure out how to edit the signature for that node. (Not even sure if it’s what I need.)

Also this is not in the main even graph, it is inside a function that spawns the sound (and takes care of other things) which is called from multiple locations.

 ![321347-eventquestion.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/d/add28552faccfc5ace26afce0349109e64da2207.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 7, 2020, 11:15am UTC](https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085/5 "2020-11-07T11:15:01Z")

</div>

I know, it’s really irritating! ( HEY EPIC - ARE YOU READING THIS? )

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 7, 2020, 11:19am UTC](https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085/6 "2020-11-07T11:19:10Z")

</div>

How about this?

 ![321356-screenshot-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/5/5452a124dbe6e22c830fd48a2b33fe806c846d73.jpeg)

---

<div class="post-metadata">

**Author:** ![LiftPizzas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LiftPizzas](https://forums.unrealengine.com/u/LiftPizzas)\
**Post date:** [November 7, 2020, 7:14pm UTC](https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085/7 "2020-11-07T19:14:55Z")

</div>

Ok I finally got it to work. It was not allowing me to create a custom event from _within_ the function. Instead I had to use a return param and put the “bind” node after the one that calls the function. Thanks for your help. 🙂

 ![321390-noteended.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/2/ff2f9ca544da5a419ac09e73780d5b67396d8bb3.jpeg)

---

<div class="post-metadata">

**Author:** ![aghsoft](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aghsoft](https://forums.unrealengine.com/u/aghsoft)\
**Post date:** [April 21, 2021, 9:39am UTC](https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085/8 "2021-04-21T09:39:43Z")

</div>

![336574-captu.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/3/493734d96b07a446a74bf952fac64c74ea47e7d3.jpeg)

---

<div class="post-metadata">

**Author:** ![VelikyPanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/velikypanda/32/1008648_2.png) [@VelikyPanda](https://forums.unrealengine.com/u/VelikyPanda)\
**Post date:** [November 18, 2022, 7:45pm UTC](https://forums.unrealengine.com/t/how-to-bind-an-event-to-audio-finished/474085/9 "2022-11-18T19:45:52Z")

</div>

I also ran into this issue. The problem is that **Auto Destroy** is set to **true** in the **Spawn Sound 2D** node by default. The node will destroy the sound immediately after the sound finishes playing. As a result, the bound event cannot be called as the sound that is supposed to call it does not exist and hence can’t call it.

Uncheck the **Auto Destroy** option, and then destroy the sound manually in the bound event using the **Stop** node. 😊

 ![Sound](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/0/a/a0a87e640b3433cb5109faf4063a68ef0afc7934.png)

**EDIT:**** Persist Across Level Transition must also be off.**
