# How to set (Global) Parameter By Name in Unity?

**URL:** https://qa.fmod.com/t/how-to-set-global-parameter-by-name-in-unity/16864
**Category:** Unity
**Created:** [March 12, 2021, 12:33am UTC](https://qa.fmod.com/t/how-to-set-global-parameter-by-name-in-unity/16864 "2021-03-12T00:33:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dafar](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@dafar](https://qa.fmod.com/u/dafar)
#### Post date: [March 12, 2021, 12:33am UTC](https://qa.fmod.com/t/how-to-set-global-parameter-by-name-in-unity/16864/1 "2021-03-12T00:33:01Z")

</div>

Hi,

I’ve created lots of local parameters without problems.

But I’m I tried to create a Global Parameter to change, for example, the Reverb Wetness or Room Size, It simply does nothing.

Is there something similar to the “setParameterByName”, but for global parameters?

Thanks!

---

<div class="post-metadata">

### Author: ![alexzzen](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alexzzen/32/6825_2.png) [@alexzzen](https://qa.fmod.com/u/alexzzen)
#### Post date: [March 12, 2021, 12:06pm UTC](https://qa.fmod.com/t/how-to-set-global-parameter-by-name-in-unity/16864/2 "2021-03-12T12:06:52Z")

</div>

[https://www.fmod.com/resources/documentation-api?version=2.1&page=studio-api-system.html#studio\_system\_setparameterbyname](https://www.fmod.com/resources/documentation-api?version=2.1&page=studio-api-system.html#studio_system_setparameterbyname)

In Unity you can get the Studio System with the RuntimeManager:

> FMODUnity.RuntimeManager.StudioSystem.setParameterByName

---

<div class="post-metadata">

### Author: ![dafar](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@dafar](https://qa.fmod.com/u/dafar)
#### Post date: [March 12, 2021, 1:34pm UTC](https://qa.fmod.com/t/how-to-set-global-parameter-by-name-in-unity/16864/3 "2021-03-12T13:34:11Z")

</div>

This was exactly the solution! Thank a ton for your help!!

---

<div class="post-metadata">

### Author: ![capybara](https://avatars.discourse-cdn.com/v4/letter/c/34f0e0/32.png) [@capybara](https://qa.fmod.com/u/capybara)
#### Post date: [December 14, 2023, 10:14am UTC](https://qa.fmod.com/t/how-to-set-global-parameter-by-name-in-unity/16864/4 "2023-12-14T10:14:52Z")

</div>

In case anyone is finding this thread in more recent years, at some point an “FMOD Studio Global Parameter Trigger” component was added to Unity, so that looks to be a great built-in way to set Global parameters (be they continuous, discrete or labeled). The “FMOD Studio Event Emitter” still has trouble with Global parameters, but at least we have the “FMOD Studio Global Parameter Trigger” component.
