# Is it possible to make 3d UMG widgets never get occluded?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-make-3d-umg-widgets-never-get-occluded/408536>\
**Category:** XR Development\
**Tags:** unreal-engine, question, UMG\
**Created:** [November 2, 2017, 5:43am UTC](https://forums.unrealengine.com/t/is-it-possible-to-make-3d-umg-widgets-never-get-occluded/408536 "2017-11-02T05:43:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_650f1d25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_650f1d25](https://forums.unrealengine.com/u/anonymous_user_650f1d25)\
**Post date:** [November 2, 2017, 5:43am UTC](https://forums.unrealengine.com/t/is-it-possible-to-make-3d-umg-widgets-never-get-occluded/408536/1 "2017-11-02T05:43:45Z")

</div>

I’ve got a couple widget components, which serve as UI, parented to the user camera in VR.

- They ignore the pitch of the camera so the player has to look up or down to seem them.

- They are located a certain distance away from the camera so the player doesn’t feel all caged in. Because of offset, they’ll clip through world geometry though.

Is there any easy way to make it so they never get occluded? I just want them to always be visible unless I hide them myself.

I tried to move them within the player’s collision capsule, but making it so they don’t clip out I have position them too close for comfort.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 2, 2017, 10:08am UTC](https://forums.unrealengine.com/t/is-it-possible-to-make-3d-umg-widgets-never-get-occluded/408536/2 "2017-11-02T10:08:05Z")

</div>

Yes.

- find material in the engine content: _Widget3DPassThrough_
- duplicate it and move it to your project.
- open the material and _Disable Depth Test_ in the advanced part of the Translucency tab
- assign material to your widget component

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_650f1d25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_650f1d25](https://forums.unrealengine.com/u/anonymous_user_650f1d25)\
**Post date:** [November 13, 2017, 1:22am UTC](https://forums.unrealengine.com/t/is-it-possible-to-make-3d-umg-widgets-never-get-occluded/408536/3 "2017-11-13T01:22:32Z")

</div>

I apologize for not having seen sooner. Followed your steps, and it worked perfectly the first time. Thank so much for your time, Everynone.

Sorry if had already been covered somewhere. Fwiw, I did search around for about 30m~1h before posting.

Thanks again!

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 13, 2017, 8:07am UTC](https://forums.unrealengine.com/t/is-it-possible-to-make-3d-umg-widgets-never-get-occluded/408536/4 "2017-11-13T08:07:37Z")

</div>

No worries, happy to help!

---

<div class="post-metadata">

**Author:** ![Sean\_Maxhell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Maxhell](https://forums.unrealengine.com/u/Sean_Maxhell)\
**Post date:** [December 12, 2018, 10:19am UTC](https://forums.unrealengine.com/t/is-it-possible-to-make-3d-umg-widgets-never-get-occluded/408536/5 "2018-12-12T10:19:25Z")

</div>

Cool, but now I have the problem that the WidgetInteraction ray is not render on the menù, but behind that.

---

<div class="post-metadata">

**Author:** ![kusogaki77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kusogaki77](https://forums.unrealengine.com/u/kusogaki77)\
**Post date:** [December 13, 2018, 1:37am UTC](https://forums.unrealengine.com/t/is-it-possible-to-make-3d-umg-widgets-never-get-occluded/408536/6 "2018-12-13T01:37:21Z")

</div>

@Sean Maxhell  
The widgets I applied the pass through material to were non-interact-able.  
I’ve never done that before, so I don’t know how to help. I’d suggest you make a new thread for your issue (or maybe go to the [UE4 Slackers discord](http://unrealslackers.org/) and ask the people in the VR group), that way you’d get more visibility, because my title doesn’t really detail your issue.
