Block Line Trace, but not Mouse


I have this actor that needs to block the line trace, so I added a box collision that blocks visibility.

The problem is that by doing so, it also blocks the mouse (it’s a topdown project) therefore the player can’t step inside (the actor is a smoke bomb: it should block shots done with line trace, but the player should be able to get inside it).

Any suggestion on how to solve this?

This is almost identical to what I answered here today:

tl;dr: you can add additional channels to trace against

That is exactly what I was looking for! Thank you very much!