Aggro/Spidey sense indicator on ai

Hello all.

I wonder if anyone could help me.

I’m trying to figure out how to make an agro marker appear above an ai head When you, the player has been spotted. I’m thinking like the ai have spidey sense.

Any help on how to add this would be greatly