How do I assign events to actors when using line trace for objects?

I have added a line trace too my scene and I want to make it so you can for example load a level when I click a key over the actor. But how do I do that?, where do i do it(level blueprint or the actors blueprint)?