# How to prevent VR Teleport to set location to the ceiling?

**URL:** <https://forums.unrealengine.com/t/how-to-prevent-vr-teleport-to-set-location-to-the-ceiling/1866043>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5\
**Created:** [May 21, 2024, 9:51am UTC](https://forums.unrealengine.com/t/how-to-prevent-vr-teleport-to-set-location-to-the-ceiling/1866043 "2024-05-21T09:51:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mantovictor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mantovictor](https://forums.unrealengine.com/u/Mantovictor)\
**Post date:** [May 21, 2024, 9:51am UTC](https://forums.unrealengine.com/t/how-to-prevent-vr-teleport-to-set-location-to-the-ceiling/1866043/1 "2024-05-21T09:51:00Z")

</div>

Hey all  
I’m having an incredibly annoying problem with teleportation in UE5.1.  
I have this loft with a mezzanine and the teleport simply shows the teleport destination to the ceiling, in this case mezzanine. I even tried to prevent it by adding a bit of code in the line trace comparing the pawn position to the destination and if it’s bigger than 100units it shouldn’t teleport, but it does anyway. 🤡  
Also, no matter what the collision type I set the freaking door, it teleports through it.  
Any idea what could be so wrong?

Thanks,

  
 ![Screenshot 2024-05-21 104539](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/6/586caac98e6af6a97cf75b8a7ee2d64603d7df2f.png)
