Interactive piano keys animation

Thank you for answer. And how can I detect what component of other blueprint (Piano) was hit by “player’s” line trace? Can I somehow get name of component that was hit? I know it is probably simple thing, but I don’t found way to do this yet. I was doing only basic things in UE before. I only found way to detect what bone was hit by line trace.