# Play Audio on Timeline Marker Not Working

**URL:** https://qa.fmod.com/t/play-audio-on-timeline-marker-not-working/16259
**Category:** Unreal Engine
**Created:** [October 5, 2020, 7:33pm UTC](https://qa.fmod.com/t/play-audio-on-timeline-marker-not-working/16259 "2020-10-05T19:33:10Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Bryle](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Bryle](https://qa.fmod.com/u/Bryle)
#### Post date: [October 5, 2020, 7:33pm UTC](https://qa.fmod.com/t/play-audio-on-timeline-marker-not-working/16259/1 "2020-10-05T19:33:11Z")

</div>

Hello!

I’m looking to trigger audio after a certain marker is hit on a event timeline. I set EnableTimelineCallbacks to true, but I can’t seem to have even a very simple example fire.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/0/0c22949422b511b080510bf38b948197d89d2516.png)

What am I missing?

Thank you!

---

<div class="post-metadata">

### Author: ![Bryle](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Bryle](https://qa.fmod.com/u/Bryle)
#### Post date: [October 9, 2020, 10:52pm UTC](https://qa.fmod.com/t/play-audio-on-timeline-marker-not-working/16259/2 "2020-10-09T22:52:47Z")

</div>

Bump! Working on some cool ideas that our project could really benefit from. Need to solve this before our company continues.

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [October 13, 2020, 10:21pm UTC](https://qa.fmod.com/t/play-audio-on-timeline-marker-not-working/16259/3 "2020-10-13T22:21:17Z")

</div>

Have you enabled timeline callbacks on the FMODAudioComponent?

![Screenshot 2020-10-14 091840](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/c/c2bbfe7ec638f11871ae5384587078f711f86857.png)

---

<div class="post-metadata">

### Author: ![Bryle](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Bryle](https://qa.fmod.com/u/Bryle)
#### Post date: [October 19, 2020, 12:18am UTC](https://qa.fmod.com/t/play-audio-on-timeline-marker-not-working/16259/4 "2020-10-19T00:18:36Z")

</div>

I have!

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/b7e4b2434183b2e5a35826a0b370d5c855fa3169.png)

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/4/4bdb5248283c1f11cd017dc2f2027f462b8fe89f.png)

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [October 21, 2020, 9:47pm UTC](https://qa.fmod.com/t/play-audio-on-timeline-marker-not-working/16259/5 "2020-10-21T21:47:11Z")

</div>

What versions of FMOD and UE4 are you using?

---

<div class="post-metadata">

### Author: ![KeltonW](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/keltonw/32/2909_2.png) [@KeltonW](https://qa.fmod.com/u/KeltonW)
#### Post date: [November 26, 2021, 12:07pm UTC](https://qa.fmod.com/t/play-audio-on-timeline-marker-not-working/16259/6 "2021-11-26T12:07:18Z")

</div>

Hey you need to enable the timeline callbacks bool before you play the event. This worked for me. Idk why setting the the bool after playing doesnt work. For example this is annyoing when you want to use “play event attached” or “play 2d”.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/2/22a4e5b7691eba49fe95ef2207b0512eeabad143.png)

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [December 9, 2021, 1:35am UTC](https://qa.fmod.com/t/play-audio-on-timeline-marker-not-working/16259/7 "2021-12-09T01:35:15Z")

</div>

Currently the callback is only set at the time that the event is played, which is why changing the bool after that does not work.

I have added a task to change this behavior, eg. make a function in the FMODAudioComponent for enabling callbacks so they can be set at any time.
