# Make NPC reactivate movement when it ends overlap with actor

**URL:** <https://forums.unrealengine.com/t/make-npc-reactivate-movement-when-it-ends-overlap-with-actor/434094>\
**Category:** Character & Animation\
**Tags:** overlap, activate, unreal-engine, question\
**Created:** [September 19, 2018, 5:58pm UTC](https://forums.unrealengine.com/t/make-npc-reactivate-movement-when-it-ends-overlap-with-actor/434094 "2018-09-19T17:58:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9ee69ed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9ee69ed](https://forums.unrealengine.com/u/anonymous_user_b9ee69ed)\
**Post date:** [September 19, 2018, 5:58pm UTC](https://forums.unrealengine.com/t/make-npc-reactivate-movement-when-it-ends-overlap-with-actor/434094/1 "2018-09-19T17:58:02Z")

</div>

Hey, I made a 2D NPC that uses InterpToMovement to move troughout a few control points. I’ve made him stop when he overlaps, but can’t make him move again when the overlap ends. I attach a screenshot of it (getting it from the same branch doesn’t work either btw) so maybe you can tell what I’m doing wrong.

 ![254142-overlapnpc.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/d/a3dd1afe4c75f61dc6ad65a8c3a6c56ef255d580.png)

Thanks beforehand!  
P.S: If I found the way to do it before someone answers I’ll post it here 🙂

---

<div class="post-metadata">

**Author:** ![HuoCrazeh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HuoCrazeh](https://forums.unrealengine.com/u/HuoCrazeh)\
**Post date:** [September 19, 2018, 9:29pm UTC](https://forums.unrealengine.com/t/make-npc-reactivate-movement-when-it-ends-overlap-with-actor/434094/2 "2018-09-19T21:29:23Z")

</div>

make a boolean BIsOverlapping when he overlaps make it true if not make it false, and put a branch on your movement system and if false overlapping he walks normal but if true have it do what ever. Stop moving or chase player

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9ee69ed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9ee69ed](https://forums.unrealengine.com/u/anonymous_user_b9ee69ed)\
**Post date:** [September 20, 2018, 3:24am UTC](https://forums.unrealengine.com/t/make-npc-reactivate-movement-when-it-ends-overlap-with-actor/434094/3 "2018-09-20T03:24:05Z")

</div>

@HuoCrazeh How can I change the value of that boolean according to the overlap? (can’t find a way to relate that boolean to the overlap) / I couldn’t find a way to link the branch to the InterpToMovement different than in the screenshot ; sorry if I understood you poorly e.e" I’ll keep trying to figure it out 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![HuoCrazeh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HuoCrazeh](https://forums.unrealengine.com/u/HuoCrazeh)\
**Post date:** [September 20, 2018, 10:04pm UTC](https://forums.unrealengine.com/t/make-npc-reactivate-movement-when-it-ends-overlap-with-actor/434094/4 "2018-09-20T22:04:52Z")

</div>

Or might be my poor explaining. Been a bit since I used blueprints I lost my pc ☹

---

<div class="post-metadata">

**Author:** ![HuoCrazeh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HuoCrazeh](https://forums.unrealengine.com/u/HuoCrazeh)\
**Post date:** [September 20, 2018, 10:11pm UTC](https://forums.unrealengine.com/t/make-npc-reactivate-movement-when-it-ends-overlap-with-actor/434094/5 "2018-09-20T22:11:26Z")

</div>

Try not deactivate try going into your interp movement and set a branch for a Boolean that gets set true if overlapped and false if not
