Set your walls on a layer, then add another Layer Mask (for walls) to your Mouse Pick.
Then store the layer that has been picked and run to a check state, if it is a Wall then loop back to the start, if it is the object you want then continue.
It's just an interrupt to check if you hit any walls. That's all.