Knowledge Base

Drive Block (Adventure)

output-onlinepngtools__231_.png  This block works for EV3 Robot in the CoderZ Adventure Course

mceclip0.png

The Drive block drives the robot forward or backward. You can choose the two directions from the drop-down menu.

Expanding the Drive Block to include Distance

If you want to drive (either forward or backward) a specific distance, you can expand the Drive block and add a 'Distance' parameter. Here's how:

1. Click the blue wheel icon
2. Select 'set Distance'
3. Drag a number block from the Data menu and snap it to the 'Distance' parameter
4. Type in the distance to drive

expand_drive.gif

 

Was this article helpful?
0 out of 0 found this helpful

Comments

Please sign in to leave a comment.

Powered by Zendesk