Line Trace for Objects how to ignore actors?

Thanks but like I said, I’m a complete noob, how do I cast?