Stopping a motor at a certain angle Vex Code

Hello everyone. Does anyone know how you would stop a motor at a certain angle using VexCode? I am trying to get our adjuster to stop at a certain angle so it would be easier to stack cubes. Thanks.

Is this for VIQC or VRC? If you mean stacking cubes, you can only do that in VRC, or do you mean getting the green cubes in VIQC on the steps.

This is for VRC not VIQC

Make sure that you pick your tag correctly so that it is easier to help you. You can use the command Motor.rotatefor() to spin for a specific amount of degrees. You can then use Motor.stop(hold), to hold the motor in position.


Ok, thanks for the reply.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.