# Help - Occlusion Gates/Portals in UE4 using FMOD

**URL:** https://qa.fmod.com/t/help-occlusion-gates-portals-in-ue4-using-fmod/17741
**Category:** Unreal Engine
**Tags:** ue4
**Created:** [October 1, 2021, 2:56am UTC](https://qa.fmod.com/t/help-occlusion-gates-portals-in-ue4-using-fmod/17741 "2021-10-01T02:56:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ciaransykes](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@ciaransykes](https://qa.fmod.com/u/ciaransykes)
#### Post date: [October 1, 2021, 2:56am UTC](https://qa.fmod.com/t/help-occlusion-gates-portals-in-ue4-using-fmod/17741/1 "2021-10-01T02:56:21Z")

</div>

Does anyone have experience creating occlusion gates in Unreal Engine using FMOD? I want audio within a building to be heard through open doors/windows even when there is no line of sight between the player character and the audio source. I have occlusion setup and working fine, just struggling with the gate and I’m currently going around in circles creating trace blueprints with no results.

Thank you

---

<div class="post-metadata">

### Author: ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)
#### Post date: [October 5, 2021, 12:00am UTC](https://qa.fmod.com/t/help-occlusion-gates-portals-in-ue4-using-fmod/17741/2 "2021-10-05T00:00:21Z")

</div>

The best way I can think of would be to fake it by triggering a snapshot, or maybe using command instruments to temporarily override the occlusion parameter value when the player walks past an open window/door. The latter option might mess with the automatic occlusion behaviour afterwards though, so it would probably be better to create a separate parameter for this so you aren’t directly overriding the attenuation parameter.  
Otherwise [blending snapshots](https://fmod.com/resources/documentation-studio?version=2.02&page=mixing.html#overriding-versus-blending-snapshots) will probably be easier to setup and won’t intefere with the existing occlusion setup.

---

<div class="post-metadata">

### Author: ![ciaransykes](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@ciaransykes](https://qa.fmod.com/u/ciaransykes)
#### Post date: [October 6, 2021, 2:25am UTC](https://qa.fmod.com/t/help-occlusion-gates-portals-in-ue4-using-fmod/17741/3 "2021-10-06T02:25:53Z")

</div>

Cheers @jeff_fmod, I’ll give both suggestions a go
