# How can I set occlusion details on FMODEvent Instance Structure?

**URL:** <https://qa.fmod.com/t/how-can-i-set-occlusion-details-on-fmodevent-instance-structure/21639>\
**Category:** Unreal Engine\
**Created:** [May 21, 2024, 6:25am UTC](https://qa.fmod.com/t/how-can-i-set-occlusion-details-on-fmodevent-instance-structure/21639 "2024-05-21T06:25:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoaigamesSound](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@MoaigamesSound](https://qa.fmod.com/u/MoaigamesSound)\
**Post date:** [May 21, 2024, 6:25am UTC](https://qa.fmod.com/t/how-can-i-set-occlusion-details-on-fmodevent-instance-structure/21639/1 "2024-05-21T06:25:52Z")

</div>

Hi,  
I’m trying to set occlusion details on several events,  
It was easy to set on FMODAudio Component (Play Event Attaced).

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/9/941af4315b155556dc4e089b7002573e1315b94f.jpeg)

However, as for FMOD Event Instance (Play Event at Location), I can’t set it because "FMODEvent Instance Structure is not compatible with FMODAudio Component Pbject Reference.

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

How can I set occlusion details on Play Event at Location?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 27, 2024, 11:55pm UTC](https://qa.fmod.com/t/how-can-i-set-occlusion-details-on-fmodevent-instance-structure/21639/2 "2024-05-27T23:55:57Z")

</div>

Using the ‘occlusion details’ is a function of the `FMODAudioComponent` specifically and `PlayEventAtLocation` doesn’t use that, it directly makes an event at a specified location and returns the instance.

---

<div class="post-metadata">

**Author:** ![MoaigamesSound](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@MoaigamesSound](https://qa.fmod.com/u/MoaigamesSound)\
**Post date:** [May 28, 2024, 4:04am UTC](https://qa.fmod.com/t/how-can-i-set-occlusion-details-on-fmodevent-instance-structure/21639/3 "2024-05-28T04:04:20Z")

</div>

Hi, Thanks,  
I understand it returns the instance.  
So, It means… If I want to use Occlusion feature, I must use FMODAudioComponent, not the instance. Right?  
Then, is there any way to spawn a FMODAudioComponent at Location (not attach something) ?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 28, 2024, 4:31am UTC](https://qa.fmod.com/t/how-can-i-set-occlusion-details-on-fmodevent-instance-structure/21639/4 "2024-05-28T04:31:11Z")

</div>

Other than `PlayEventAttached` you can use the `Add FMODSudio Component` node to spawn a component.  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/c/caddd4bea8dd212cae65e8a5907f91c5c7ff45fb.png)
