# How to move actor in the way its facing? (Editor Utility)

**URL:** <https://forums.unrealengine.com/t/how-to-move-actor-in-the-way-its-facing-editor-utility/871685>\
**Category:** Programming & Scripting\
**Tags:** Editor-Utility, unreal-engine, editor, Blueprint, question\
**Created:** [April 7, 2023, 11:53am UTC](https://forums.unrealengine.com/t/how-to-move-actor-in-the-way-its-facing-editor-utility/871685 "2023-04-07T11:53:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hwpixo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hwpixo](https://forums.unrealengine.com/u/hwpixo)\
**Post date:** [April 7, 2023, 11:53am UTC](https://forums.unrealengine.com/t/how-to-move-actor-in-the-way-its-facing-editor-utility/871685/1 "2023-04-07T11:53:32Z")

</div>

Hey guys,

I have been trying to create a tool that requires the use of an Xbox Controller to move a mesh around in **Editor Mode and not in Play Mode**. I am using the Live Link to connect the controller to the mesh blueprint. I can move the mesh in any axis I want already but I cant seem to figure out how to make it move in relation to where its facing (Forward Vector) Does anybody have any tips to help me out? Here is a screenshot of the blueprint currently.

As you can see I havent figured out how to connect the Get Vector Forward node as it needs to connect with the inputs I think.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/c/27c57c270728a045fa940f0ba57f6ddefe5753dc.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/a/7fad4ed6f8c63e496d2113bc0d42a044a8612251.png)

Thanks

---

<div class="post-metadata">

**Author:** ![WillmsiasTheMad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WillmsiasTheMad](https://forums.unrealengine.com/u/WillmsiasTheMad)\
**Post date:** [April 7, 2023, 12:52pm UTC](https://forums.unrealengine.com/t/how-to-move-actor-in-the-way-its-facing-editor-utility/871685/2 "2023-04-07T12:52:42Z")

</div>

Forward vector is a unit vector in the direction the actor is facing. To move a location in that direction, do this:  
NewLocation = CurrentLocation + (Distance \* Forward)

---

<div class="post-metadata">

**Author:** ![hwpixo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hwpixo](https://forums.unrealengine.com/u/hwpixo)\
**Post date:** [April 10, 2023, 6:37am UTC](https://forums.unrealengine.com/t/how-to-move-actor-in-the-way-its-facing-editor-utility/871685/3 "2023-04-10T06:37:06Z")

</div>

Okay thanks! I got it to work but since I am using different inputs for x,y,z movements it seems to be multiplying depending on the angle of the vector and giving different speeds depending on where the object is facing. I am troubleshooting it now but if you have any more ideas please feel free to share them! 🙂
