# How to set event instance timeline position without SetTimelinePosition?

**URL:** <https://qa.fmod.com/t/how-to-set-event-instance-timeline-position-without-settimelineposition/20143>\
**Category:** Unity\
**Tags:** unity\
**Created:** [April 20, 2023, 1:54pm UTC](https://qa.fmod.com/t/how-to-set-event-instance-timeline-position-without-settimelineposition/20143 "2023-04-20T13:54:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wengyhongwork](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)\
**Post date:** [April 20, 2023, 1:54pm UTC](https://qa.fmod.com/t/how-to-set-event-instance-timeline-position-without-settimelineposition/20143/1 "2023-04-20T13:54:04Z")

</div>

Hi there,

I am trying to make something like an audio player where user can seek/scrub music instantaneously.

I am playing the audio by creating an EventInstance

Currently due to the delay occurred when using `EventInstance::setTimelinePosition`, I decided to use DSP by getting the channel group, the channel from the event instance, to get and set position of the music.

The problem is, the timeline position of the event instance continues to move forward regardless of the dsp changes. So when the event instance has reached the end of timeline, the event instance is stopped and there would be no music even though my current dsp clock has not reached the end of the length.

Is there a way to be like updating the timeline position of the event instance to be the same as dsp clock when the dsp clock is manually changed by user ( seek/scrub ) without using EventInstance::SetTimelinePosition ? So that the event instance wouldn’t end?

Any thoughts are appreciated.

Thank you.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [April 20, 2023, 11:28pm UTC](https://qa.fmod.com/t/how-to-set-event-instance-timeline-position-without-settimelineposition/20143/2 "2023-04-20T23:28:42Z")

</div>

Hi,

What version of FMOD are you using? Could I see a code snippet of how you are creating and setting the position using the DSP?
