Linetrace to an object to activate another without Matinee

Hi to all,

I try to make a blueprint where you have to look at an object to activate it (opening door, pushing button and so). So i use Line Trace By chanel to do that.At first i linked it directly to my DP of the door via a custom event (see pics). But i had trouble closing the door. So i’ve decided to link it to the control panel on the door instead of the door itself.

My question is, how do i link the control panel to the door. I tried to use a Cast to … but i didn’t have object to link to it so i get an error when i compile. I would like to keep the BP of the control panel separate as i want to put an outline on it, to show that you can interact with it.

Thanks for the help.