On any actor blueprint there is an ActorOnClicked function you can override. (near the bottom of the list in the screenshot)