# Character simple move to location Completed event

**URL:** <https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [February 12, 2015, 1:28am UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874 "2015-02-12T01:28:28Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_7723f422](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7723f422](https://forums.unrealengine.com/u/anonymous_user_7723f422)\
**Post date:** [February 12, 2015, 1:28am UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/1 "2015-02-12T01:28:28Z")

</div>

Hi,  
is there a way to determine if a character has finished the SimpleMoveToLocation Action?  
I thought it was the output node but that’s executed when player starts walking.

Thanks!

---

<div class="post-metadata">

**Author:** ![Denis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Denis](https://forums.unrealengine.com/u/Denis)\
**Post date:** [February 12, 2015, 11:40am UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/2 "2015-02-12T11:40:17Z")

</div>

What comes first to my mind would be to spawn a trigger where and when you first click to make your character move (do Once) and then when he enters the trigger you make the event completed?  
May not be the best way but it’s an easy one I think !

---

<div class="post-metadata">

**Author:** ![KITATUS](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kitatus/32/983160_2.png) [@KITATUS](https://forums.unrealengine.com/u/KITATUS)\
**Post date:** [February 12, 2015, 2:16pm UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/3 "2015-02-12T14:16:29Z")

</div>

A slightly alternative way would be: Add a box to your character and do this:  
Simple Move to Location \> Set Box World Location (Both at the same location) \> Set “CheckForCollision” (Bool) \> When collides (Set HasFinishedMoving, Turn off CheckForCollision) .etc

This makes it easier for debugging and repeating multiple times. This way you can change your mind while the Actor is moving and not have boxes stuck in your scene (If you forget to destroy them!)

---

<div class="post-metadata">

**Author:** ![Denis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Denis](https://forums.unrealengine.com/u/Denis)\
**Post date:** [February 12, 2015, 2:49pm UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/4 "2015-02-12T14:49:06Z")

</div>

This seems like a better idea 😃

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_34fff4d5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_34fff4d5](https://forums.unrealengine.com/u/anonymous_user_34fff4d5)\
**Post date:** [February 12, 2015, 6:50pm UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/5 "2015-02-12T18:50:18Z")

</div>

If you have your current location, and the location you’re going, you can simply check the distance between the 2 Vectors by subtracting them from each other and using “Vector Length”. Compare that number to an acceptable radius around where you want to be (say 25), then you can tell your Pawn what to do next or simply broadcast it has arrived:

If you’re actually using a Character Blueprint, you can actually use the “Get Velocity” node and run a check on the speed of the character to see if it has stopped so you don’t have to spam a distance calculation.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/1/d21d770eb1e0c174592957d02f5c76bfe85ab418.png)  
I’m sure there’s a way to move this out of Tick and fire it as a delegate, but I’m not really up to date on them.

For AI Controllers you have “Get Move Status” that is set to Idle, Waiting, Paused, or Moving (it’s an Enum), which you can check against. When the AI is moving, the status is moving, when it reaches the destination, it’s idle.

Behavior Trees also have this functionality already built in their “Move To” nodes.

Hope this helps! =)

---

<div class="post-metadata">

**Author:** ![Zhi\_Kang\_Shao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zhi\_Kang\_Shao](https://forums.unrealengine.com/u/Zhi_Kang_Shao)\
**Post date:** [February 13, 2015, 12:45am UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/6 "2015-02-13T00:45:39Z")

</div>

> [@Shadden;220991](#):
>
> For AI Controllers you have “Get Move Status” that is set to Idle, Waiting, Paused, or Moving (it’s an Enum), which you can check against. When the AI is moving, the status is moving, when it reaches the destination, it’s idle.

Checked this thread to help but found a new little trick instead, thanks . 🙂

---

<div class="post-metadata">

**Author:** ![KITATUS](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kitatus/32/983160_2.png) [@KITATUS](https://forums.unrealengine.com/u/KITATUS)\
**Post date:** [February 13, 2015, 1:15am UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/7 "2015-02-13T01:15:47Z")

</div>

> [@Shadden;220991](#):
>
> For AI Controllers you have “Get Move Status” that is set to Idle, Waiting, Paused, or Moving (it’s an Enum), which you can check against. When the AI is moving, the status is moving, when it reaches the destination, it’s idle.

Well I be damned; I wish I knew about this sooner! Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f3fb80e6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f3fb80e6](https://forums.unrealengine.com/u/anonymous_user_f3fb80e6)\
**Post date:** [July 5, 2015, 3:57pm UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/8 "2015-07-05T15:57:54Z")

</div>

I have an issue with the approach of using GetMoveStatus. In most cases it returns correctly with “Idle” state when the target location has been reached. However, in some situations (same actor and map, can’t see any obvious difference) after the actor has reached the target location, its state is still “Moving” for a while, even if visually the actor is not moving any more. Then, after about 1-2 seconds, it becomes idle.

Any ideas what could be wrong here?

---

<div class="post-metadata">

**Author:** ![MaroonersRockAnimation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MaroonersRockAnimation](https://forums.unrealengine.com/u/MaroonersRockAnimation)\
**Post date:** [January 24, 2016, 7:55am UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/10 "2016-01-24T07:55:25Z")

</div>

> [@NisshokuZK;221205](#):
>
> Checked this thread to help but found a new little trick instead, thanks . 🙂

Can you fill us in on what the “Little Trick” was??

---

<div class="post-metadata">

**Author:** ![mabdog](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mabdog](https://forums.unrealengine.com/u/mabdog)\
**Post date:** [July 27, 2017, 2:49am UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/11 "2017-07-27T02:49:22Z")

</div>

I think he was responding to the trick in the post he quoted

---

<div class="post-metadata">

**Author:** ![Kochab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kochab](https://forums.unrealengine.com/u/Kochab)\
**Post date:** [July 13, 2018, 7:37am UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/12 "2018-07-13T07:37:22Z")

</div>

> [@haimat](#):
>
> I have an issue with the approach of using GetMoveStatus. In most cases it returns correctly with “Idle” state when the target location has been reached. However, in some situations (same actor and map, can’t see any obvious difference) after the actor has reached the target location, its state is still “Moving” for a while, even if visually the actor is not moving any more. Then, after about 1-2 seconds, it becomes idle.
> 
> Any ideas what could be wrong here?

I had this same problem and it was because in my MoveToLocation I had the AcceptanceParameter at 0.f. I wanted the actor to go to the exact location. I tried 0.1f and the problem disappeared.

In addition to what Shaddon said, I also wanted to point out that, for AI controllers, you can override the OnMoveCompleted function. There is a great article about that here with code examples:

> **[Basic Navigation in UE4 — Vikram Codes](https://www.vikram.codes/blog/ai/01-basic-navigation)**
>
> Building a Game of Tag in the Unreal Engine using Artificial Intelligence, one step at a time. We begin by taking a small step first - making our AI Characters walk around using the UE4 Navigation System!

---

<div class="post-metadata">

**Author:** ![Alexander.L](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alexander.L](https://forums.unrealengine.com/u/Alexander.L)\
**Post date:** [July 14, 2018, 7:30pm UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/13 "2018-07-14T19:30:00Z")

</div>

You actually can set and compare 2 vector variables, say - current location and target location, if vectors near equal - shoot some exec. But that method need some event tick or any sort of constant exec for constantly setting current location variable when character are moving.

---

<div class="post-metadata">

**Author:** ![russwb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@russwb](https://forums.unrealengine.com/u/russwb)\
**Post date:** [June 17, 2019, 6:50pm UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/14 "2019-06-17T18:50:23Z")

</div>

A simple solution I found:

- Set Simple Move to Location
- Each tick call GetCurrentPath.
- If that path IsValid then you’re still moving. If it’s not, then you’ve reached your destination.

Since GetCurrentPath just returns a copy of your path, it should be a pretty cheap call.

---

<div class="post-metadata">

**Author:** ![tuatec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tuatec](https://forums.unrealengine.com/u/tuatec)\
**Post date:** [June 11, 2023, 1:11pm UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/15 "2023-06-11T13:11:15Z")

</div>

Thanks for sharing the great article. For future readers this might speed you up.

In C++ we can override the following method, [AAIController::OnMoveCompleted | Unreal Engine Documentation](https://docs.unrealengine.com/5.2/en-US/API/Runtime/AIModule/AAIController/OnMoveCompleted/1/)

For Blueprints we can use the bind node and connect a custom event to it,

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/c/67c33f9361fc5408f8f2cb3aa0186d6be73b944b.jpeg)

Everything was taken from this great article,

> **[Basic Navigation in UE4 — Vikram Codes](https://www.vikram.codes/blog/ai/01-basic-navigation)**
>
> Building a Game of Tag in the Unreal Engine using Artificial Intelligence, one step at a time. We begin by taking a small step first - making our AI Characters walk around using the UE4 Navigation System!

---

<div class="post-metadata">

**Author:** ![EXODST](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exodst/32/1031732_2.png) [@EXODST](https://forums.unrealengine.com/u/EXODST)\
**Post date:** [January 5, 2024, 10:02pm UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/16 "2024-01-05T22:02:22Z")

</div>

Thanks dude thats perfect!

---

<div class="post-metadata">

**Author:** ![Nizami\_Nz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nizami\_Nz](https://forums.unrealengine.com/u/Nizami_Nz)\
**Post date:** [May 15, 2025, 9:31am UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/17 "2025-05-15T09:31:03Z")

</div>

Hello everyone.

If someone has encountered the problem of not being able to get (Result event) when AI has reached or not reached. Here is the answer!

(Simple move) and (Move to actor) has exits (ReturnValue).  
The problem is that these On Request Success/On Request Failed Blueprint nodes don’t mean “the AI ​​reached the goal” - they just mean that the movement request was accepted by the navigation system or rejected outright.

To get the result of the move.  
You need to call (Bind Event to MoveComplited) from your (AIController)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/7/617ef5bfb826edce6b501611e11e033c4795e734.png)

---

<div class="post-metadata">

**Author:** ![xridley](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xridley](https://forums.unrealengine.com/u/xridley)\
**Post date:** [December 14, 2025, 9:55pm UTC](https://forums.unrealengine.com/t/character-simple-move-to-location-completed-event/20874/18 "2025-12-14T21:55:57Z")

</div>

If you are fine with using c++, you can just bind to the PathFollowingComponent’s OnRequestFinished delegate, since both SimpleMoveToLocation and SimpleMoveToActor use that component internally.

Like this:

```cpp
// Use SimpleMoveToLocation first since it will create the UPathFollowingComponent object if no AI Controller is used
UAIBlueprintHelperLibrary::SimpleMoveToLocation(PawnController, TargetLocation);
    
UPathFollowingComponent* PathFollowingComponent = PawnController->FindComponentByClass<UPathFollowingComponent>();
if (PathFollowingComponent)
{
    PathFollowingComponent->OnRequestFinished.AddUObject(this, &AAreaTransitionTrigger::OnMoveFinished);
}

```
