# Open / Close Door in VR in unreal engine

**URL:** <https://forums.unrealengine.com/t/open-close-door-in-vr-in-unreal-engine/1226088>\
**Category:** XR Development\
**Tags:** VR-Vive, unreal-engine\
**Created:** [July 11, 2023, 3:06pm UTC](https://forums.unrealengine.com/t/open-close-door-in-vr-in-unreal-engine/1226088 "2023-07-11T15:06:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abzd1212](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Abzd1212](https://forums.unrealengine.com/u/Abzd1212)\
**Post date:** [July 11, 2023, 3:06pm UTC](https://forums.unrealengine.com/t/open-close-door-in-vr-in-unreal-engine/1226088/1 "2023-07-11T15:06:11Z")

</div>

I’m trying to implement an open / close door through [this]  
([Opening Doors | Unreal Engine 4.27 Documentation](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/Blueprints/UserGuide/Timelines/Examples/OpeningDoors/)).  
I completed this tutorial and added a trigger box, however whenever I try to teleport in the trigger box region, the door does not open.

I’m fairly new to unreal, come someone please help me figure out what I should do here?

---

<div class="post-metadata">

**Author:** ![Wolfraph](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wolfraph](https://forums.unrealengine.com/u/Wolfraph)\
**Post date:** [July 11, 2023, 4:41pm UTC](https://forums.unrealengine.com/t/open-close-door-in-vr-in-unreal-engine/1226088/2 "2023-07-11T16:41:42Z")

</div>

Hi.  
I guess you’re using a “Set Actor Location” to teleport.  
You may try check the option “Sweep” like in the screenshot below

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/3/ce37066214e1acefb234bf14fa020c329e22463f.png)  
If it still doesn’t trigger the volume, you may calculate at each teleport if there is any door nearby your character. and if the horizontal distance is below a certain threshold, you can play it’s animation
