Basic Movement Blocks

The following blocks are good to use for some basic sequential programs where you program the robot to drive in a particular path.

Use the blocks below to explore your robot's basic mobility with these driving tests:


  1. Drive straight for 1 rotation
  2. Drive back for 180 degrees
  3. Drive straight for 1 second


  1. Drive in circles for 5 seconds
  2. Drive 2 rotations at %100 speed and float
  3. Drive 2 rotations at %100 speed and hold position


  1. Make a near-perfect Right turn
  2. Make a near-perfect Left turn

Note the parameters you used for this. It may come in handy in the future.

Move Forward/Backward for ...

Use this block to go Forward or Backward only. The block tries it best to move the two main motors connected at the same speed in the same direction.

Move with Steering for ...

This block let's you set the direction - so you can steer sideways, not just drive forward and backward.

Same options as above: - For Rotations - For Degrees - For __ Seconds

Set Movement Speed

The default speed the above blocks are using is %50. If you want to go faster you can set the Movement Speed higher. Similarly, you can also set it lower to make the robot drive even slower.

Set Movement Motors to Hold/Float at Stop

Say you tell your robot to move Forward for 1 second.

When the 1 second is up, there are various behaviors that could take place:

Set Movement Motors

Tell the Brick which 2 Motor ports to use for the Right & Left wheel motors.

The default is B & C, but EV3 Classroom is smart enough to detect the Movement Motors if you have only 2 large motors connected.

Make sure they are set correctly if the automatic detection is not working as expected.

(Advanced) For Rotations/Degrees vs. For Seconds

Important: Try to make the robot bump into a wall using for Rotations vs. for Seconds. Note the difference:

You can test this with 2 simple and similar programs as follows:

In this case when bumping the wall, the motor shafts would not be able to rotate as many times as specified, and the EV3 should not show the end image (only eyes).

No matter what the motors and the wheels are doing, this should show a smile after 10 seconds had elapsed.