# Change spatializer falloff curve

**URL:** https://qa.fmod.com/t/change-spatializer-falloff-curve/22041
**Category:** Unity
**Created:** [August 27, 2024, 3:18pm UTC](https://qa.fmod.com/t/change-spatializer-falloff-curve/22041 "2024-08-27T15:18:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![30to1](https://avatars.discourse-cdn.com/v4/letter/3/db5fbb/32.png) [@30to1](https://qa.fmod.com/u/30to1)
#### Post date: [August 27, 2024, 3:18pm UTC](https://qa.fmod.com/t/change-spatializer-falloff-curve/22041/1 "2024-08-27T15:18:49Z")

</div>

Is there a way to change the attenuation falloff curve from code?

Alternatively, is there a way to globally control/default this setting? I don’t want to have to manually set every event’s falloff curve manually (I’ll forget about this and miss some).

I found a reference somewhere but the code was very old and I can’t find a way to reference the master track from an event instance in the current version.

---

<div class="post-metadata">

### Author: ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)
#### Post date: [August 28, 2024, 3:40am UTC](https://qa.fmod.com/t/change-spatializer-falloff-curve/22041/2 "2024-08-28T03:40:59Z")

</div>

Are you familiar with shared effects? As the name suggests, a shared effect is an effect that’s shared by multiple different events, and uses the same settings in each of those events.

To create a shared spatializer effect, select “Window \> Shared Effects Browser” to open the shared effects browser. Then, right-click i nthe new browser to open the context menu, and select “New Shared Effect \> New Effect \> FMOD Spatializer.” Give the new shared effect a name you’ll remember, and set its settings appropriately. Then, all you’ll have to do is add the shared effect to your events instead of the non-shared spatializer effect.
