# FMOD Unity Real Time Paramater Changes

**URL:** https://qa.fmod.com/t/fmod-unity-real-time-paramater-changes/13194
**Category:** Unity
**Created:** [May 21, 2017, 10:06pm UTC](https://qa.fmod.com/t/fmod-unity-real-time-paramater-changes/13194 "2017-05-21T22:06:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![romerosdaniel](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@romerosdaniel](https://qa.fmod.com/u/romerosdaniel)
#### Post date: [May 21, 2017, 10:06pm UTC](https://qa.fmod.com/t/fmod-unity-real-time-paramater-changes/13194/1 "2017-05-21T22:06:51Z")

</div>

Hey you guys,

I’d like to listen to parameter changes in real-time (playing the scene) in unity via the “Initial Parameter Values” section. How could I go about doing this?

I’ve provided a video to best explain what I’m trying to do:

[https://youtu.be/GGewzllR7E0](https://youtu.be/GGewzllR7E0)

I appreciate your help!

\*Also, sorry for the big grey box blocking the game-play visuals. Can’t share that content ☹

FMOD ver 1.09.04  
Unity ver 5.6.1f1  
Mac Pro 2008

---

<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 21, 2017, 11:17pm UTC](https://qa.fmod.com/t/fmod-unity-real-time-paramater-changes/13194/2 "2017-05-21T23:17:54Z")

</div>

The initial parameter values are only set each time the event is played.  
Changing the parameters in real-time can easily be done in code.

You are able to get a [ParameterInstance](https://www.fmod.org/docs/content/generated/studio_api_ParameterInstance.html) reference from an EventInstance and call setValue to update the parameters in real-time, see [Triggering Parameter Changes](http://www.fmod.org/documentation#content/generated/engine_new_unity/paramtrigger.html) for more info, or by using the StudioParameterTrigger script included with the Unity plugin.
