# How to set and get an FMOD Studio Event Emitter parameter?

**URL:** <https://qa.fmod.com/t/how-to-set-and-get-an-fmod-studio-event-emitter-parameter/17226>\
**Category:** Unity\
**Created:** [May 19, 2021, 3:55pm UTC](https://qa.fmod.com/t/how-to-set-and-get-an-fmod-studio-event-emitter-parameter/17226 "2021-05-19T15:55:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul.masristone](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/paul.masristone/32/2165_2.png) [@paul.masristone](https://qa.fmod.com/u/paul.masristone)\
**Post date:** [May 19, 2021, 3:55pm UTC](https://qa.fmod.com/t/how-to-set-and-get-an-fmod-studio-event-emitter-parameter/17226/1 "2021-05-19T15:55:53Z")

</div>

I’ve looked at [a previous post from 2016](https://qa.fmod.com/t/how-do-i-retrieve-a-parameter-from-a-studioeventemitter-in-unity/12770), but this doesn’t look applicable to FMOD 2.01 as there is no `GetParameter()` among other things.

I have tried using `StudioEventEmitter::Params` to retrieve the list of parameters and set/get values, but the behaviour is strange. Setting this value appears to set the ‘initial parameter value’ that gets shown in the inspector, but doesn’t change the parameter live on the sound.

If I use `StudioEventEmitter::SetParameter(id, value)` this appears to work in some cases but not others. I am also at a loss how to debug since I cannot see how to get the current parameter value.

Any ideas where I’m going wrong?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 24, 2021, 6:28am UTC](https://qa.fmod.com/t/how-to-set-and-get-an-fmod-studio-event-emitter-parameter/17226/2 "2021-05-24T06:28:54Z")

</div>

You can access the public `EventInstance` on a `StudioEventEmitter` and with that you can call `EventInstance::setParameterByID`, which is what `StudioEventEmitter::SetParameter` is doing, and `EventInstance::getParameter`.

The `Params` list is only used for setting the initial parameters of an event when it begins playing.
