On NOT See Pawn / On NOT Hear Noise events?

I’m looking for the opposite of On See Pawn and On Hear Noise so that i can determine when the NPC should stop detecting the player, is there such a thing? If not, how do i work around it to get the same result?
For example, what i want to achieve is: When player is far away/hidden, then execute Event On Not See Pawn > AI Move To random location on map.