# How can the inheritance mechanism be implemented?

**URL:** <https://qa.fmod.com/t/how-can-the-inheritance-mechanism-be-implemented/21823>\
**Category:** FMOD Studio\
**Created:** [June 30, 2024, 12:12pm UTC](https://qa.fmod.com/t/how-can-the-inheritance-mechanism-be-implemented/21823 "2024-06-30T12:12:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asdera649](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@asdera649](https://qa.fmod.com/u/asdera649)\
**Post date:** [June 30, 2024, 12:12pm UTC](https://qa.fmod.com/t/how-can-the-inheritance-mechanism-be-implemented/21823/1 "2024-06-30T12:12:27Z")

</div>

I have a group of events that should have the same maximum listening distance and if they change, all events in the group should have the same maximum listening distance. I already have an idea how to do this, but before I do I would like to make sure that I haven’t missed a more obvious solution to do this. Thanks in advance.

---

<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:** [July 2, 2024, 4:37am UTC](https://qa.fmod.com/t/how-can-the-inheritance-mechanism-be-implemented/21823/2 "2024-07-02T04:37:14Z")

</div>

The simplest way to do this is probably to create a shared spatializer effect with distance override enabled and the max distance you want, then use that shared effect in each of the events you want to share that max distance.

Alternatively, instead of a spatializer effect, you could automate a gain parameter on a non-normalized distance parameter, and use that parameter in each of the events.

Do either of those sound like what you want?

---

<div class="post-metadata">

**Author:** ![asdera649](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@asdera649](https://qa.fmod.com/u/asdera649)\
**Post date:** [July 2, 2024, 11:11am UTC](https://qa.fmod.com/t/how-can-the-inheritance-mechanism-be-implemented/21823/3 "2024-07-02T11:11:37Z")

</div>

Yeah, that works for me.
