Make IK control follow only one axis?

I am trying to make a system where the hands follow an attachment with an IK controller but only in one axis. I can’t seem to find anything in the properties tab, I tried researching but I didn’t find much on the topic. My IK control type is set to rotation and I’d like it to rotate in the X axis only.

You can add constraints lile hinge constraint to restrict the movement to one axis.

1 Like

How do I make them have different limits for different axes though? Because when I set limits it applies to all axes which is not what I am trying to achieve.