Arduino code for robotic arm

Hello to everyone. I want to build a robotic arm with two servos to control a stylus between two ground channels. Is there anything for the code to help me? Thank you in advance

With your rather vague description all that I can suggest is the Servo library for controlling servos and do not power the servos from the Arduino. An external supply will be necessary.

control a stylus between two ground channels

No idea what that means.