How to prevent character and movable objects from being highlighted through walls?

I have a “red” one in my PC :upside_down_face: