How do you compare actors?

Hey,
I’m kinda same doubt but with VR! I have a box collision and I wanted to check if the object collising with the box is the VR hand. In UE4 there’s the motion controller pawn bp we could use for that, now on UE 5 there’s no motion controller pawn anymore and I have no clue on how to make it work.
I tried to compare but didn’t really work.

Aay idea?