I didn't want to put it in a loop, but you're right I didn't put it in any kind of function. I'll put it in a for(int x=0;x<=0;x++) style function and see if it works. thanks for your help.
im creating a robot to draw a circle using a marker help with an arm to lower and lift the arm up ive attacked a Rack and Pinion Linear Slide and used a motor to move the wheel because a part required for the servo isn't available to me. Since the robot still needs to drive I need a motor for each wheel and attached a MAX DC Motor Expansion Controller to the chassis however Ive never coded with this before.
Im sorry for not being helpful Im new to coding as a whole and have never used this forum before.