something like rotation constraint script ?

Hi
i use rotation constraint to bone aim so i dont want rotation constraint work when i walk or run just when i aim

Is there rotation constraint script
thank you

If you have a rigidbody, you could go and open the constraints tab, and freeze the rotation by checking all of the “Rotation” boxes.

133536-capture.png