Casting to overlapping actor.

I’m making an interaction system where when you can interact with an object it gets a yellow outline and because I have the code that checks if the object is interactable (using line trace) I was wondering if there is any way I can get the actor the line trace is overlapping, cast to him and then set the depth from 0 to 1 so it glows?
Interaction system:


If you need any further info just ask me. Thanks in advance.

No need for any casting if the object implements the interface call a function from the interface (eg. setHighlight(true) or false)

The highlight function should be in your base interact bp where it should gather all components and set the custom stencil depth on them (on or off depending on boolean)