Ignore Line Trace for Masked parts of objects?

if you break your hit result you should be able to get access to the material to perform whatever check.

however, if you trace on the visibility channel, is the masked object that is invisible actually considered visible?
that sort of defeats the purpose of the visibility channel, doesn’t it?