# Best Practice to set Event Min Max Distances

**URL:** <https://qa.fmod.com/t/best-practice-to-set-event-min-max-distances/21286>\
**Category:** FMOD Studio\
**Created:** [February 26, 2024, 3:27pm UTC](https://qa.fmod.com/t/best-practice-to-set-event-min-max-distances/21286 "2024-02-26T15:27:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![theconsoloist](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@theconsoloist](https://qa.fmod.com/u/theconsoloist)\
**Post date:** [February 26, 2024, 3:27pm UTC](https://qa.fmod.com/t/best-practice-to-set-event-min-max-distances/21286/1 "2024-02-26T15:27:25Z")

</div>

How can I set the Min Max Distances of all 3D Events to specific values by default? Is there a global setting?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 28, 2024, 1:11am UTC](https://qa.fmod.com/t/best-practice-to-set-event-min-max-distances/21286/2 "2024-02-28T01:11:33Z")

</div>

Hi,

Unfortunately, there is no default setting. However, I have created a Studio script that can be put into `C:\Users\XXX\AppData\Local\FMOD Studio\Scripts` which will set the values for all `3D` events:  
[SetDefaultDistances.txt](https://qa.fmod.com/uploads/short-url/61ptv0SO0e5ztUr4ZOE3YGyXaHB.txt). Just remember to change the extension to `.js` to use it.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![jaka.birsa](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jaka.birsa](https://qa.fmod.com/u/jaka.birsa)\
**Post date:** [November 8, 2024, 1:21pm UTC](https://qa.fmod.com/t/best-practice-to-set-event-min-max-distances/21286/3 "2024-11-08T13:21:46Z")

</div>

And where is this on Mac, if someone can point me to it, please?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [November 10, 2024, 8:24pm UTC](https://qa.fmod.com/t/best-practice-to-set-event-min-max-distances/21286/4 "2024-11-10T20:24:31Z")

</div>

Hi,

On macOS it should be found here: `Macintosh HD > Users > XXX > Library > Application Support > FMOD Studio > Scripts`

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/8/860942c0bc3b2ce7bd5752c7a6c2be2c08d76059.png)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![jaka.birsa](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jaka.birsa](https://qa.fmod.com/u/jaka.birsa)\
**Post date:** [December 20, 2024, 9:13am UTC](https://qa.fmod.com/t/best-practice-to-set-event-min-max-distances/21286/5 "2024-12-20T09:13:03Z")

</div>

It sure did 🙂 , thank you.
