Object that doesn't affect the vision of the pawn sensing

Someone correct me if I’m wrong here,
but you have to specifically code pawn sensing to do something with what it senses.
Ergo, if you don’t specifically code anything to happen when whatever object is sensed nothing will happen anyway…

So, are you maybe asking if its possible for the object to block the sensing - like a cube you hide behind or similar?

ignoring said cube so the AI can sense behind it anyway?