# How to make a pawn stop registering with AI Perception

**URL:** <https://forums.unrealengine.com/t/how-to-make-a-pawn-stop-registering-with-ai-perception/368928>\
**Category:** AI\
**Tags:** Perception, unreal-engine, question\
**Created:** [August 31, 2016, 9:50pm UTC](https://forums.unrealengine.com/t/how-to-make-a-pawn-stop-registering-with-ai-perception/368928 "2016-08-31T21:50:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![MieszkoZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MieszkoZ](https://forums.unrealengine.com/u/MieszkoZ)\
**Post date:** [September 1, 2016, 8:41pm UTC](https://forums.unrealengine.com/t/how-to-make-a-pawn-stop-registering-with-ai-perception/368928/2 "2016-09-01T20:41:44Z")

</div>

In C++ all you need to do is to call `UAPerceptionComponent::UnregisterSource`. This function however is not exposed to BP, so if you want to do it in BP you’ll need to put more work in.

You need to make pawns not auto register for AIs’ sight sense. To do that add following to your DefaultEngine.ini:

```
[/Script/AIModule.AISense_Sight]
bAutoRegisterAllPawnsAsSources=false

```

And then everything that you want observable by AI needs to have a `AIPerceptionStimuliSourceComponent`. That component has a BP function for unregistering from AIPerceptionSystem.

Cheers,

–mieszko

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-make-a-pawn-stop-registering-with-ai-perception/368928)._
