# Move the Player's Character to a location without the control of the Player.

**URL:** <https://forums.unrealengine.com/t/move-the-players-character-to-a-location-without-the-control-of-the-player/2877116>\
**Category:** AI\
**Tags:** unreal-engine, question\
**Created:** [December 4, 2026, 10:34am UTC](https://forums.unrealengine.com/t/move-the-players-character-to-a-location-without-the-control-of-the-player/2877116 "2026-12-04T10:34:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [December 4, 2026, 10:34am UTC](https://forums.unrealengine.com/t/move-the-players-character-to-a-location-without-the-control-of-the-player/2877116/1 "2026-12-04T10:34:52Z")

</div>

Hi!

I want to do the same that this node does, but in C++:

 ![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/b/f1b94420d86831d49047898cfac048231d92c898.png)

I want to move the player’s character to a location. I mean, when the player enters into a room there will be a trigger that makes the character moves to a location without the control of the player.

In Blueprint I did it with that node and a Nav Mesh, but in C++ I have no idea about how to do it.

The Player Character has this:

 ![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/4/cf43a316ebb035a53008ec9353f674aa5dead247.png)

But, again, I have no idea how to use it to move it automatically to a location.

Any idea about how to do it?

Thank you!

---

<div class="post-metadata">

**Author:** ![lucas\_kokku](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucas_kokku/32/1227621_2.png) [@lucas\_kokku](https://forums.unrealengine.com/u/lucas_kokku)\
**Post date:** [December 4, 2026, 11:08am UTC](https://forums.unrealengine.com/t/move-the-players-character-to-a-location-without-the-control-of-the-player/2877116/2 "2026-12-04T11:08:27Z")

</div>

Hello! If that blueprint snippet already works for you and you simply wish to do the same thing in C++, you can just call `UAIBlueprintHelperLibrary::SimpleMoveToLocation()` directly, or copy its contents to your own function elsewhere.

If you choose to call it directly, make sure to add `AIModule` as a dependency and include `"Blueprint/AIBlueprintHelperLibrary.h"`.
