Moving bone with mouse help!

Hello! I have been trying to learn bone-movements and i’m building a simple system where i can move my hand with mouse. I got it work (kinda) but need much help. My program is this

In this picture i just take my right hand bone and set it’s rotation wich i choose in event graph.

The event graph is this. I get mouse location and set it’s position to position variable. Don’t know if this is fully correct.

What i would want is to know can i set limits how far the hand moves? And also i would maybe need to make default position for hand and center the mouse? Any ideas how to get hand work little better? Now it just goes from round to round and never stops if i move my mouse…

Think you need to look at the detail panel of the bone transformation node. It allows setting if you want to replace the rotation or add to current rotation.
I think you are adding to current rotation which is causing your issue with the hands that keep rotating.