# Control the time marker with a parameter on FMOD+Unity

**URL:** https://qa.fmod.com/t/control-the-time-marker-with-a-parameter-on-fmod-unity/14962
**Category:** Unity
**Created:** [August 19, 2019, 10:45am UTC](https://qa.fmod.com/t/control-the-time-marker-with-a-parameter-on-fmod-unity/14962 "2019-08-19T10:45:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![DuckBeard](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DuckBeard](https://qa.fmod.com/u/DuckBeard)
#### Post date: [August 19, 2019, 10:45am UTC](https://qa.fmod.com/t/control-the-time-marker-with-a-parameter-on-fmod-unity/14962/1 "2019-08-19T10:45:22Z")

</div>

This is a tricky one to explain. I’m trying to make a puzzle with a cassette recorder. You can press forward or rewind, to make a certain audio play(rewind vs forward sound). I want to make a transition region at certain point of the tape that if a player hits play (a button, a FMOD parameter acting as a trigger), the solution track is heard. Easy enough to this point.

But what If I wanted to know where do I exactly stopped the audio to play it later where I left it. For example I play rewind up to second 0:04, then I stop the cassette and play again, starting now at second 0:04? I want to save the time when the audio stopped at a variable, and I’m guessing If I could make the time marker at FMOD Studio a parameter as well, or is there any function FMOD has I may use. This way I can start the audio where I left it before, instead of starting from the beginning.  
Any ideas?

Thanks for reading

---

<div class="post-metadata">

### Author: ![alexzzen](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alexzzen/32/6825_2.png) [@alexzzen](https://qa.fmod.com/u/alexzzen)
#### Post date: [August 20, 2019, 4:19pm UTC](https://qa.fmod.com/t/control-the-time-marker-with-a-parameter-on-fmod-unity/14962/2 "2019-08-20T16:19:11Z")

</div>

Can’t you just pause the event/instance instead of stopping it? [https://fmod.com/resources/documentation-api?version=2.0&page=studio-api-eventinstance.html#studio\_eventinstance\_setpaused](https://fmod.com/resources/documentation-api?version=2.0&page=studio-api-eventinstance.html#studio_eventinstance_setpaused)
