# How do I move objects relative to the player position?

**URL:** <https://forums.unrealengine.com/t/how-do-i-move-objects-relative-to-the-player-position/364084>\
**Category:** Community & Industry Discussion\
**Tags:** relative, move, wall, unreal-engine, question\
**Created:** [July 15, 2016, 2:11am UTC](https://forums.unrealengine.com/t/how-do-i-move-objects-relative-to-the-player-position/364084 "2016-07-15T02:11:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon236](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brandon236](https://forums.unrealengine.com/u/Brandon236)\
**Post date:** [July 15, 2016, 2:11am UTC](https://forums.unrealengine.com/t/how-do-i-move-objects-relative-to-the-player-position/364084/1 "2016-07-15T02:11:03Z")

</div>

So I have a triangle hallway where the back of the hallway is more narrow than the front. Now the player will be standing at the back of the hallway but I can’t determine where along the x axis the player will be standing. Is it possible to move the walls of this hallway so that the player will always be standing in the center?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [July 15, 2016, 2:42am UTC](https://forums.unrealengine.com/t/how-do-i-move-objects-relative-to-the-player-position/364084/2 "2016-07-15T02:42:51Z")

</div>

So it’s a infinite hallway?

---

<div class="post-metadata">

**Author:** ![Brandon236](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brandon236](https://forums.unrealengine.com/u/Brandon236)\
**Post date:** [July 15, 2016, 2:47am UTC](https://forums.unrealengine.com/t/how-do-i-move-objects-relative-to-the-player-position/364084/3 "2016-07-15T02:47:21Z")

</div>

No it’s just a normal hallway with normal walls but I want to move these walls so that the player is always in the center of the hallway. So I guess the walls would be a certain distance away from the player.
