@ rulflinks - you can easily prepare an endless cycle to run movement() many times in a row. BUT your proc says when the Cube is selected => move the Sphere by 1 unit further. So when you have your Cube selected, your Sphere will run away in less than a second cause your movement() proc will run thousands of time in a second. Of course, some special measures can be taken so that movement() run only when you select Cube, i.e. just once at a selection, a second time at second selection, but you should really think more about if you wish such a great automatization for just moving a sphere 1 unit away?!?!?
I want to try make a ik fk autosnap, I want try that when Cube (is a example) is selected the bone constraint influence = 1 or 0 .but whenever the cube is selected the arm is in fk or ik.
the example is to make easy the explanation.
my english is very poor.
thanks for all