Hiding from AI Perception

In your AI sight pereception you could call a line trace from the AI actor to player, if it collides with something other than player don’t assign a target