# UNREAL 4.22 - How to cancel or stop "AI Move To" node, after already started working?

**URL:** <https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [May 20, 2019, 8:25am UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383 "2019-05-20T08:25:35Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![DraxFX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DraxFX](https://forums.unrealengine.com/u/DraxFX)\
**Post date:** [May 20, 2019, 8:25am UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/1 "2019-05-20T08:25:35Z")

</div>

Hi, im creating a Blueprint based AI, meaning i´m not using any BT, everything works perfect, but i canot cancel “AI Move To” once it started, the only way to stop it, is when itself causes “on succes” or “fail”, and i want to hit the AI with a freeze bullet, but it only works if the AI is on succes, not moving; if i do it while moving it continues walking until “on success” or “fail” happens and then i freezes, how can i stop “AI Move To” node while still working?

Please help

![moveto.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/3/d3519cf7a6ee0944f9aec36b584563b168de8122.png)

---

<div class="post-metadata">

**Author:** ![DanDizard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DanDizard](https://forums.unrealengine.com/u/DanDizard)\
**Post date:** [May 20, 2019, 9:04am UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/2 "2019-05-20T09:04:23Z")

</div>

You can get the CharacterMovement component and drag some nodes out of it.  
I’m not sure if StopActiveMovement will work with AI.

If you use DisableMovement, that completely turns off the CharacterMovement. (It basically sets the MovementMode to None.)  
You’ll then have to use SetMovementMode and pick a mode (e.g. Walking) in order to re-enable the character movement.

 ![UE4Editor_uYZXTOvlLr.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/6/960a0470703576a8c2b977674b6f09897d45459d.png)

---

<div class="post-metadata">

**Author:** ![DraxFX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DraxFX](https://forums.unrealengine.com/u/DraxFX)\
**Post date:** [May 21, 2019, 9:20am UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/3 "2019-05-21T09:20:54Z")

</div>

PERFECT!!! Thanks Dan

---

<div class="post-metadata">

**Author:** ![dkzhu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dkzhu](https://forums.unrealengine.com/u/dkzhu)\
**Post date:** [April 23, 2020, 1:14am UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/4 "2020-04-23T01:14:45Z")

</div>

I searched for so long before happening upon this! Thank you for your solution! This is exactly what I needed!

---

<div class="post-metadata">

**Author:** ![DraxFX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DraxFX](https://forums.unrealengine.com/u/DraxFX)\
**Post date:** [April 30, 2020, 10:07pm UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/5 "2020-04-30T22:07:15Z")

</div>

Another thing that even works better, is to stop the tick (enable tick to false), as you do, the character will stop moving, then, when it has to move, you restart the tick.

---

<div class="post-metadata">

**Author:** ![Levitikon217](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Levitikon217](https://forums.unrealengine.com/u/Levitikon217)\
**Post date:** [January 9, 2021, 1:08pm UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/6 "2021-01-09T13:08:04Z")

</div>

Well, which one does the trick?

---

<div class="post-metadata">

**Author:** ![\_aragon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_aragon](https://forums.unrealengine.com/u/_aragon)\
**Post date:** [January 13, 2021, 2:53pm UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/7 "2021-01-13T14:53:46Z")

</div>

Use the “disable movement” node

---

<div class="post-metadata">

**Author:** ![Icebamboo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/icebamboo/32/469324_2.png) [@Icebamboo](https://forums.unrealengine.com/u/Icebamboo)\
**Post date:** [May 17, 2022, 8:32am UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/8 "2022-05-17T08:32:19Z")

</div>

Try to get the “AI Controller”,then use “Stop Movement”

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/0/d00f3587b0a21b302e7869d21c9ce4cf7d4f3a16.png)

---

<div class="post-metadata">

**Author:** ![SaeedLithium](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaeedLithium](https://forums.unrealengine.com/u/SaeedLithium)\
**Post date:** [May 27, 2023, 11:52am UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/9 "2023-05-27T11:52:35Z")

</div>

It’s ok but ai face is always at the point it’s moving

---

<div class="post-metadata">

**Author:** ![SaeedLithium](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaeedLithium](https://forums.unrealengine.com/u/SaeedLithium)\
**Post date:** [May 27, 2023, 11:57am UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/10 "2023-05-27T11:57:22Z")

</div>

This is the better way 😊  
thanks

---

<div class="post-metadata">

**Author:** ![boowowsion64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@boowowsion64](https://forums.unrealengine.com/u/boowowsion64)\
**Post date:** [August 27, 2023, 5:59pm UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/11 "2023-08-27T17:59:25Z")

</div>

it works !!!

---

<div class="post-metadata">

**Author:** ![loneduckll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@loneduckll](https://forums.unrealengine.com/u/loneduckll)\
**Post date:** [December 6, 2023, 1:22pm UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/12 "2023-12-06T13:22:41Z")

</div>

Cheers for the ino this has really helped with my project.

---

<div class="post-metadata">

**Author:** ![CarisGypsy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CarisGypsy](https://forums.unrealengine.com/u/CarisGypsy)\
**Post date:** [March 30, 2024, 4:05am UTC](https://forums.unrealengine.com/t/unreal-4-22-how-to-cancel-or-stop-ai-move-to-node-after-already-started-working/126383/13 "2024-03-30T04:05:25Z")

</div>

You’re my hero, can’t believe I was stuck looking for something so simple, thank you.
