Help with socket and blueprint

kind of new to blueprint and having trouble trying to create a hand to hand combat game play i’m not really making a game so much as trying to get better with the engine. i have a idea but not sure how to pull it off everything iv done hasn’t worked. what i want to do is if socket right middle finger(i figured it would be best to measure it from that since it is the middle of the fist) = x distance from head socket play beingPunchedLeft animation. i cant get it to work so far and i cant get the sekl to reset to the default stance(back to what the skel was before punch animation). also if anyone knows a good tutorial for creating good rag doll i appreciate a link thank for the help.