# How do i change a variable depending on the sound panning

**URL:** <https://qa.fmod.com/t/how-do-i-change-a-variable-depending-on-the-sound-panning/22005>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [August 15, 2024, 10:46am UTC](https://qa.fmod.com/t/how-do-i-change-a-variable-depending-on-the-sound-panning/22005 "2024-08-15T10:46:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MostoGuy](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@MostoGuy](https://qa.fmod.com/u/MostoGuy)\
**Post date:** [August 15, 2024, 10:46am UTC](https://qa.fmod.com/t/how-do-i-change-a-variable-depending-on-the-sound-panning/22005/1 "2024-08-15T10:46:24Z")

</div>

i want for a specific gameobjects position change depending on the sound panning. the builtin unity audio system has that so i figured this one had it too but idk how to work with it

---

<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:** [August 16, 2024, 2:08am UTC](https://qa.fmod.com/t/how-do-i-change-a-variable-depending-on-the-sound-panning/22005/2 "2024-08-16T02:08:24Z")

</div>

Can I get you to elaborate on what exactly you’re trying to implement? Are you trying to specifically change something in Unity based on panning, or a parameter in FMOD Studio? Usually, change in a GameObject’s positioning is what drives the sound panning, not the other way around. A link to the relevant functionality in Unity’s docs would also be great in helping me understand what you’re trying to do.
