Is there a way to limit rotation of an IK Bone?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Allan

Is there a way to limit the rotation of an IK Bone, specifically one that is used on a 2D Cutout animation?
I have a basic humanoid 2D Cutout rigged with bones and IK and it has 2 animations keyed in an AnimationPlayer node, a REST where hands are down and a JUMP where hands are up. Both animation only contains a single time frame, frame 0 (zero). I switch to each animation via AnimationPlayer.play(animation_name,blend_time), however instead of just raising or lowering the arm in between animation, the elbow rotates 360 on the opposite direction.