Detecting when a line trace is no longer hitting an object

I’m trying to figure out how I can unhide actors once the line trace is no longer hitting an actor. I’ve managed to hide the objects, but I have no idea how to hide them. Please Help

  • Thank You