How to rotate bone to where the mouse points?

Title says it all, I want to rotate one of the bones (specific bone is hand_r) in the HeroTPP skeleton towards where the mouse points. I’ve been googling around finding different ways but none of them work, I’ve tried doing it myself but it didn’t work or wasn’t accurate at all. Anyone got any help? I’m really lost at the moment.