How do you limit or stop a line trace from working thru static meshes and geometry?

I’ve created a mechanic that changes the opacity of the reticle dot to 100% essentially making it visible and sets it red when the line trace for a custom object type comes back true. I’ve attached the blueprint image here. The problem is the line trace works through walls. I don’t want the reticle to change red if the player’s aim is blocked by any other objects. Any suggestions on how to limit the line trace?

Absolutley amazing how close I was yesterday to having this setup correctly. Thanks so much Jacky everything is working perfectly. Here is the final event graph for the binding in my HUD widget.