# Sliding an object on x axis in VR

**URL:** <https://forums.unrealengine.com/t/sliding-an-object-on-x-axis-in-vr/490525>\
**Category:** XR Development\
**Tags:** world-position-offse, sliding, vr-template, unreal-engine, Blueprint, question\
**Created:** [November 2, 2021, 11:05pm UTC](https://forums.unrealengine.com/t/sliding-an-object-on-x-axis-in-vr/490525 "2021-11-02T23:05:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Screechfx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Screechfx](https://forums.unrealengine.com/u/Screechfx)\
**Post date:** [November 2, 2021, 11:05pm UTC](https://forums.unrealengine.com/t/sliding-an-object-on-x-axis-in-vr/490525/1 "2021-11-02T23:05:12Z")

</div>

Hey guys,  
I am trying to slide an object on an axis only  
From the pickup cube I am trying to use the difference between the “Arrow” and the “Cube” to translate the door on x axis.  
For some reason as soon as I grab the “Cube” the door is flying somewhere

 ![351524-bp-door.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/9/e89631d4a5f8c3d2d81deb436bb4fc999264caf1.png)

that I can’t see and the value of that position, when I use a print string is crazy high.  
Something is wrong for sure but don’t know what it is really  
I tried to clamp the value as well in between a minimum of -100 but the door start with an offset of -100 when I play the level.  
Appreciate a bit of help please?  
Thanks in advance guys
