Can I obscure an object using an invisible object?

I found an answer for Unity for my question, but had no success for UE yet:
Unity Answers

Is it possible to have an invisible object obscure another object that is behind it?