# Scripting API - Event/Browser selection changed callback?

**URL:** <https://qa.fmod.com/t/scripting-api-event-browser-selection-changed-callback/22636>\
**Category:** FMOD Studio\
**Tags:** studio-scripting-api\
**Created:** [February 26, 2025, 5:31pm UTC](https://qa.fmod.com/t/scripting-api-event-browser-selection-changed-callback/22636 "2025-02-26T17:31:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucafusi](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/lucafusi/32/681_2.png) [@lucafusi](https://qa.fmod.com/u/lucafusi)\
**Post date:** [February 26, 2025, 5:31pm UTC](https://qa.fmod.com/t/scripting-api-event-browser-selection-changed-callback/22636/1 "2025-02-26T17:31:41Z")

</div>

Hi there, writing a small utility to mirror selection between the event browser and event editor, to make working through batches of “Find Reference” type modifications easier.

I imagine it’d be something like the built in functionality where you’re able to link event and bank selections, but that’s part of the compiled editor and so I don’t know how it’s done.

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

I’m having trouble finding a good way to hook into a callback when a browser selection changes. The script is working fine if I push the key every time I want to look something up, but I’m just wondering if there’s a way to make this run automatically.

Thanks!

---

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [February 27, 2025, 12:28am UTC](https://qa.fmod.com/t/scripting-api-event-browser-selection-changed-callback/22636/2 "2025-02-27T00:28:14Z")

</div>

Unfortunately, no such callback exists, so there’s no simple way to get mirroring between the event editor and browser windows to happen automatically. This does sound like a useful setting to have though, so I’ve noted both adding the setting, and implementing additional callbacks to `studio.window`, on our internal feature tracker.

---

<div class="post-metadata">

**Author:** ![lucafusi](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/lucafusi/32/681_2.png) [@lucafusi](https://qa.fmod.com/u/lucafusi)\
**Post date:** [February 27, 2025, 5:35pm UTC](https://qa.fmod.com/t/scripting-api-event-browser-selection-changed-callback/22636/3 "2025-02-27T17:35:40Z")

</div>

Thanks so much!
