# How to fade to black when player goes out of bounds?

**URL:** <https://forums.unrealengine.com/t/how-to-fade-to-black-when-player-goes-out-of-bounds/120646>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [January 3, 2019, 12:53pm UTC](https://forums.unrealengine.com/t/how-to-fade-to-black-when-player-goes-out-of-bounds/120646 "2019-01-03T12:53:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcla75](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tcla75](https://forums.unrealengine.com/u/tcla75)\
**Post date:** [January 3, 2019, 12:53pm UTC](https://forums.unrealengine.com/t/how-to-fade-to-black-when-player-goes-out-of-bounds/120646/1 "2019-01-03T12:53:24Z")

</div>

Hi anyone have any idea how you can have the headset screen go completely black when a player tries to put their head through a wall for example?

---

<div class="post-metadata">

**Author:** ![Sam\_Deiter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sam_deiter/32/1064709_2.png) [@Sam\_Deiter](https://forums.unrealengine.com/u/Sam_Deiter)\
**Post date:** [January 3, 2019, 1:32pm UTC](https://forums.unrealengine.com/t/how-to-fade-to-black-when-player-goes-out-of-bounds/120646/2 "2019-01-03T13:32:40Z")

</div>

While the following tutorial is not exactly what you want, it could give you some help you as it shows you how to interact with the Chaperone system.

[https://docs.unrealengine.com/en-US/Platforms/SteamVR/HowTo/ChaperoneInteraction](https://docs.unrealengine.com/en-US/Platforms/SteamVR/HowTo/ChaperoneInteraction)

---

<div class="post-metadata">

**Author:** ![vr\_marco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vr_marco/32/1194556_2.png) [@vr\_marco](https://forums.unrealengine.com/u/vr_marco)\
**Post date:** [January 7, 2019, 5:09pm UTC](https://forums.unrealengine.com/t/how-to-fade-to-black-when-player-goes-out-of-bounds/120646/3 "2019-01-07T17:09:15Z")

</div>

> [@tcla75](#):
>
> Hi anyone have any idea how you can have the headset screen go completely black when a player tries to put their head through a wall for example?

Like this:

- Attach a collision sphere to your VR Camera. Use a sensible dimension, it should be pretty much like a head.
- On its BeginOverlap Event, check if it is overlapping with a wall. If so, use StartCameraFade to fade to black.
- On its EndOverlap Event, check if it stopped overlapping with a wall. If so, use StartCameraFade, but with reversed Alpha, to go back to the transparent HMD view.

A word of caution. If you fade someone’s view to black and they are still moving IRL, they may lose their balance and hurt themselves because they are missing any visual reference. Make sure your subjects/players are fine with that and keep them safe. Instead of fading to pitch black, you can fade to a 75% black for example.

---

<div class="post-metadata">

**Author:** ![tcla75](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tcla75](https://forums.unrealengine.com/u/tcla75)\
**Post date:** [January 7, 2019, 10:26pm UTC](https://forums.unrealengine.com/t/how-to-fade-to-black-when-player-goes-out-of-bounds/120646/4 "2019-01-07T22:26:20Z")

</div>

> [@vr\_marco](#):
>
> Like this:
> 
> - Attach a collision sphere to your VR Camera. Use a sensible dimension, it should be pretty much like a head.
> - On its BeginOverlap Event, check if it is overlapping with a wall. If so, use StartCameraFade to fade to black.
> - On its EndOverlap Event, check if it stopped overlapping with a wall. If so, use StartCameraFade, but with reversed Alpha, to go back to the transparent HMD view.
> 
> A word of caution. If you fade someone’s view to black and they are still moving IRL, they may lose their balance and hurt themselves because they are missing any visual reference. Make sure your subjects/players are fine with that and keep them safe. Instead of fading to pitch black, you can fade to a 75% black for example.

That’s a great tip thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9394968e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9394968e](https://forums.unrealengine.com/u/anonymous_user_9394968e)\
**Post date:** [January 11, 2019, 12:51pm UTC](https://forums.unrealengine.com/t/how-to-fade-to-black-when-player-goes-out-of-bounds/120646/5 "2019-01-11T12:51:11Z")

</div>

Jonas Molgaard made a Youtube series on this issue some time back

https://www.youtube.com/embed/videoseries?list=PLT4SeajOa6mbwXsjH7Pn7qWyUkUtpHDjR&wmode=transparent&rel=0&autohide=1&showinfo=1&enablejsapi=1

He also shows how to eject a player from the wall. Both for gameplay and for user experience reasons.

---

<div class="post-metadata">

**Author:** ![hardingnick001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hardingnick001](https://forums.unrealengine.com/u/hardingnick001)\
**Post date:** [April 7, 2026, 9:57pm UTC](https://forums.unrealengine.com/t/how-to-fade-to-black-when-player-goes-out-of-bounds/120646/6 "2026-04-07T21:57:38Z")

</div>

this video is part of a series and while old, it was able to help me in creating the necessary effect. Look for the camera collision part of the series
