How can I make an Object visible only through another object?

ah this is completly different than what I thought you were looking for, sry but no idea there :frowning: