From Test-Scratch-Wiki

(Redirected from Eng:Motor Direction () (block))

Translate: - English 
Document stub.png This article is a stub. It may be broken, incomplete, unfinished, or have missing parts/sections. If you can help expand this article, please help! There might be suggestions on its talk page.


Set Motor Direction ()
2.0 Set Motor Direction ().png
Category LEGO WeDo
Type Stack
Introduced in 1.4

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 ().

Example Uses

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.