# Is there anyway to add markers by script in FMOD \<= 1.07?

**URL:** https://qa.fmod.com/t/is-there-anyway-to-add-markers-by-script-in-fmod-1-07/19619
**Category:** FMOD Studio
**Tags:** javascript
**Created:** [December 6, 2022, 3:24am UTC](https://qa.fmod.com/t/is-there-anyway-to-add-markers-by-script-in-fmod-1-07/19619 "2022-12-06T03:24:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Alexis2\_0](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@Alexis2\_0](https://qa.fmod.com/u/Alexis2_0)
#### Post date: [December 6, 2022, 3:24am UTC](https://qa.fmod.com/t/is-there-anyway-to-add-markers-by-script-in-fmod-1-07/19619/1 "2022-12-06T03:24:08Z")

</div>

Hi,  
I’m working on the problem of adding multiple markers on the track automatically by scripts. And I found good ways in FMOD scripting API. But in older versions of FMOD (like 1.05), is there anyway to add markers by scripts (or just using code) in FMOD without the scripting API?  
Thank you so much for the information.

---

<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: [December 7, 2022, 3:45am UTC](https://qa.fmod.com/t/is-there-anyway-to-add-markers-by-script-in-fmod-1-07/19619/2 "2022-12-07T03:45:06Z")

</div>

Hi,

It is possible to add sync points ([Glossary | Sync Point](https://fmod.com/docs/2.02/api/glossary.html#sync-points)) to a sound ([FMOD API | Core API Reference](https://fmod.com/docs/2.00/api/core-api-sound.html)) at runtime via code. You can get access to a sound from an event at runtime by setting an Event Callback ([FMOD API | Studio API Reference](https://fmod.com/docs/2.02/api/studio-api-eventinstance.html#fmod_studio_event_callback_sound_played)).

Hope this helps!

---

<div class="post-metadata">

### Author: ![Alexis2\_0](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@Alexis2\_0](https://qa.fmod.com/u/Alexis2_0)
#### Post date: [December 7, 2022, 6:15am UTC](https://qa.fmod.com/t/is-there-anyway-to-add-markers-by-script-in-fmod-1-07/19619/3 "2022-12-07T06:15:27Z")

</div>

Hi, thank you for your reply! I’ll check this out! 😉
