So, I've tried many ways to achieve this, but I just can't lol.
The idea is to clamp the movement of the arm like is showed in the video. I can only clamp the arm in a rectangle area without going insane with trigonometry (spolier: that doesn't worked neither).
If someone know if it's possible pleaase tell me how u.u