# Invisible wall

**URL:** <https://forums.unrealengine.com/t/invisible-wall/559190>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4-27, Blueprint, question\
**Created:** [May 17, 2022, 9:34am UTC](https://forums.unrealengine.com/t/invisible-wall/559190 "2022-05-17T09:34:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rewhakki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rewhakki/32/888178_2.png) [@rewhakki](https://forums.unrealengine.com/u/rewhakki)\
**Post date:** [May 17, 2022, 9:34am UTC](https://forums.unrealengine.com/t/invisible-wall/559190/1 "2022-05-17T09:34:08Z")

</div>

Hello. How can such an invisible wall be implemented? To display the wall only when the player approaches.

Thanks!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/8/62879230767685fda382937c4b8260a7211b4b09.jpeg)

---

<div class="post-metadata">

**Author:** ![eldany.uy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eldany.uy/32/821920_2.png) [@eldany.uy](https://forums.unrealengine.com/u/eldany.uy)\
**Post date:** [May 17, 2022, 9:51am UTC](https://forums.unrealengine.com/t/invisible-wall/559190/2 "2022-05-17T09:51:12Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/2/3f28a1d44448c36599e4c128f7001ebe1ecd8714.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/8/0c817fd0f5cd83a2ae23da87c73f5481f11af83b.png)

---

<div class="post-metadata">

**Author:** ![rewhakki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rewhakki/32/888178_2.png) [@rewhakki](https://forums.unrealengine.com/u/rewhakki)\
**Post date:** [May 17, 2022, 9:54am UTC](https://forums.unrealengine.com/t/invisible-wall/559190/3 "2022-05-17T09:54:51Z")

</div>

Thanks a lot, it helped! The fact is that I have a game with a top view and there is no need to calculate the distance from the camera. I need to calculate the distance from an object (player) to a wall. How can i do this?

---

<div class="post-metadata">

**Author:** ![eldany.uy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eldany.uy/32/821920_2.png) [@eldany.uy](https://forums.unrealengine.com/u/eldany.uy)\
**Post date:** [May 17, 2022, 10:34am UTC](https://forums.unrealengine.com/t/invisible-wall/559190/4 "2022-05-17T10:34:29Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/c/4/1c4a48508b959892c24a3478ceffa3a5b90a6ff3.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/2/c725fcea03f89b0b481be7bdc5f5114e03e4c711.jpeg)
