|The subject of this article or section has changed dramatically and requires updating. Please keep in mind that some of the information or images may not be accurate or relevant to the current version of Scratch, the Scratch website, or the article subject. (October 2016)|
|This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (January 2016)|
|Set Motor Direction ()|
The Set Motor Direction () block is a LEGO WeDo block and a Stack block. The block sets the direction that a LEGO WeDo motor should turn with. There are three options, listed as "this way" (clockwise), "that way" (counter-clockwise), and "reverse" (simply switches the direction).
Prior to Scratch 2.0, this block was named Motor Direction ().
Changing the motor's direction also changes the direction that the LEGO WeDo vehicles move in.
Some example uses for the Set Motor Direction () block:
- Changing a vehicle from moving forward to backwards.
- Opening and closing the mouth of an animal.
- Making the LEGO WeDo change direction.
- Having a model walk or move around, with the legs changing direction.