How to "attach" PawnSensing to a boolean?

Hi Guys, i have a question to you :slight_smile:
I just want, when my AI “sees” me, the boolean “InRange” becomes true, and when the AI wont be able to see me, it becomes false.
But I have no Idea how to do this correctly…

It would be great, if you could help me :slight_smile:

PS: Is it theoretical possible to invert flows? would be awesome.

Are you using the AI perception? So he actually has a line of sight? Because then he will automatically see and not see him, and you can set how long he will remember the spot where he saw him at.