How to block a box collision with a wall?

yea you could totally do a trace on a timer to confirm if the player is still detected. i wasnt sure on the complete context so i just focused on the main issue of the question which was eliminating detection when behind a wall.