# How can I tell when an AI has reached it's destination when using State Tree?

**URL:** <https://forums.unrealengine.com/t/how-can-i-tell-when-an-ai-has-reached-its-destination-when-using-state-tree/1323567>\
**Category:** AI\
**Tags:** ai-navigation, tree, unreal-engine, question\
**Created:** [October 5, 2023, 6:54pm UTC](https://forums.unrealengine.com/t/how-can-i-tell-when-an-ai-has-reached-its-destination-when-using-state-tree/1323567 "2023-10-05T18:54:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rosy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rosy/32/719224_2.png) [@Rosy](https://forums.unrealengine.com/u/Rosy)\
**Post date:** [October 5, 2023, 6:54pm UTC](https://forums.unrealengine.com/t/how-can-i-tell-when-an-ai-has-reached-its-destination-when-using-state-tree/1323567/1 "2023-10-05T18:54:36Z")

</div>

I can’t figure it out. I tried to use the AI MoveTo node, but it doesn’t exist in functions.

It feels like I’m missing something

---

<div class="post-metadata">

**Author:** ![MajekPL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MajekPL](https://forums.unrealengine.com/u/MajekPL)\
**Post date:** [October 16, 2023, 1:59pm UTC](https://forums.unrealengine.com/t/how-can-i-tell-when-an-ai-has-reached-its-destination-when-using-state-tree/1323567/2 "2023-10-16T13:59:35Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/8/2/882823fe3bef389ec4bd455883f73076934f2793.png)  
In case you’re still having the problem, you need the Controller for the function.
