Coding for tray bits with arms

How are people coding tray bots with arms that need to move simultaneously to avoid each outher

What do you mean? They’re usually attached to the same axle, and connected with c-channels, if that’s what you mean

Yes my bad use to vcs from last year I am using vex code text. I mean bc with a tray and arm you have to move them at the same time so the arm doesn’t hit the tray. How are people controlling this?

I have used rotate to functions and they work but I would like something diffrent as if it hits something and isn’t able to reach the target value it causes the program to get stuck in the loop trying to get it to reach the target value