# AI grace period detected using AI perception

**URL:** <https://forums.unrealengine.com/t/ai-grace-period-detected-using-ai-perception/2655486>\
**Category:** Blueprint\
**Tags:** aiperception, unreal-engine, question, Blueprint\
**Created:** [September 10, 2025, 6:54pm UTC](https://forums.unrealengine.com/t/ai-grace-period-detected-using-ai-perception/2655486 "2025-09-10T18:54:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barbiezoldier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Barbiezoldier](https://forums.unrealengine.com/u/Barbiezoldier)\
**Post date:** [September 10, 2025, 6:54pm UTC](https://forums.unrealengine.com/t/ai-grace-period-detected-using-ai-perception/2655486/1 "2025-09-10T18:54:00Z")

</div>

Hi! Is there a way with the new AI perception system to have a grace period when the enemy detects the player. Example player sees the player for the duration of 3 seconds after that it acts, like attacks player etc.

People have been using pawn sensing before and it works there but not with the new system and cant find an answer from the documentation.

I have been reading on reddit and tried tutorials cant find a solution. Do you need to know C++ or make a new system. Now it only sends the signal once and doesnt update the seen actor, if it loses it.

Any help or solution would be appreciated!

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [September 10, 2025, 7:25pm UTC](https://forums.unrealengine.com/t/ai-grace-period-detected-using-ai-perception/2655486/2 "2025-09-10T19:25:30Z")

</div>

After the perception update event fires in the ai controller, you could just set a timer by event or function to handle the reaction when timer finishes.

I’ve been doing something like that in reverse when ai loses sight of the target:

 ![perceptionupdate](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/e/59e0bb466912d697d41ed91bedd71205b2b95b1f.jpeg)

This makes the BT continue to try to find player until timer kicks in. To slow the initial reaction, jut move the timer bits to the successful detection branch

---

<div class="post-metadata">

**Author:** ![Barbiezoldier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Barbiezoldier](https://forums.unrealengine.com/u/Barbiezoldier)\
**Post date:** [September 12, 2025, 8:36am UTC](https://forums.unrealengine.com/t/ai-grace-period-detected-using-ai-perception/2655486/3 "2025-09-12T08:36:44Z")

</div>

Hi! Thank you for your response. I will try this approach today.

---

<div class="post-metadata">

**Author:** ![Barbiezoldier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Barbiezoldier](https://forums.unrealengine.com/u/Barbiezoldier)\
**Post date:** [September 13, 2025, 12:39pm UTC](https://forums.unrealengine.com/t/ai-grace-period-detected-using-ai-perception/2655486/4 "2025-09-13T12:39:22Z")

</div>

This was the solution got it working with some tweaking! Thank you for your help
