# On See Pawn continuing despite bool to stop

**URL:** <https://forums.unrealengine.com/t/on-see-pawn-continuing-despite-bool-to-stop/2322102>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [February 7, 2025, 8:16pm UTC](https://forums.unrealengine.com/t/on-see-pawn-continuing-despite-bool-to-stop/2322102 "2025-02-07T20:16:18Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 9, 2025, 11:52pm UTC](https://forums.unrealengine.com/t/on-see-pawn-continuing-despite-bool-to-stop/2322102/8 "2025-02-09T23:52:38Z")

</div>

You can check a solution I made for picking up and dropping npc here

> [@Pickup / grab and move a wandering npc](https://forums.unrealengine.com/t/pickup-grab-and-move-a-wandering-npc/2300623/2):
>
> Player controller logic init pickup drop logic basic ai bttask random move to Player pawn offset point Video [[pickupAI] ](https://www.youtube.com/watch?v=KYmoU5pS_GM) Project 5.4 [pickai.zip](https://forums.unrealengine.com/uploads/short-url/jelvb9lpYs3WIzcHKdaVahShWzD.zip) (97.5 KB) Edit: To make the functions more universal then you could replace the cast to the BP\_AI with a cast to the basic Character class and then filter out by actor tags who you want to be able to pickup.

It has stop and reset logic for npc’s (you can pick them up and drop them)

You can also enable / disable the sensing directly

> [@Is there some way to disable AI Perception at runtime?](https://forums.unrealengine.com/t/is-there-some-way-to-disable-ai-perception-at-runtime/331125/4):
>
> This may be a little late but it is a work around that you may be able to try…when you want to temporarily disable the sense you can set their ranges to something really low or to zero or completely turn them off by setting the bool values for each. Like this: [83382-pawnsensing.png]

---

_[View the full topic](https://forums.unrealengine.com/t/on-see-pawn-continuing-despite-bool-to-stop/2322102)._
