Sets the direction of the motor. It will not turn the motor on if it is off.

Example

Run the motor for 10 seconds while switching the spinning direction every second.

Notes

You can select a motor from the dropdown menu. Select 'motor' to turn on any motors connected to the WeDo hub. If you have two motors which you want to control separately, you can use 'motor A' with one and 'motor B' with the other.

Note: LEGO recommends only connecting one motor to the hub to limit power consumption.

You can select the direction from the second menu.

To use set direction, you need a LEGO WeDo2 motor connected to your computer via a LEGO WeDo2 hub.