WARNING: MY USERPAGES WILL BE UPDATED AND MANY PAGES WILL BE MOVED AND/OR BROKEN
|The following page is a draft of a new article. Please excuse any errors, missing information, or inaccurate information.|
|Set () Direction to ()|
The Set () Direction to () 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). It was introduced in Scratch 1.4.
Changing the motor's direction also changes the direction that the LEGO WeDo vehicles move in.
Some example uses for the Set () Direction to () 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.