(Redirected from Turn Motor On)

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)
Document.png Please expand this article or section. You can help by adding more information if you are an editor. More information might be found in a section of the talk page. (July 2017)
Turn Motor On
2.0 Turn Motor On.png
Category LEGO WeDo
Type Stack
Introduced in 1.4

The Turn Motor On block is a LEGO WeDo block and a Stack block. The block activates a LEGO WeDo motor.

Prior to Scratch 2.0, this block was named Motor On.

Example Uses

Nothing can be done with LEGO WeDo if the motor cannot be simply turned on.

Some common uses for the Turn Motor On block:

  • Making a vehicle move forever

when gf clicked
turn [motor v] on

  • A fan that alternates whether it's on or off

when [space v] key pressed
turn [motor v] on
wait until <not<key [space v] pressed?>>
wait until <key [space v] pressed?>
turn [motor v] off
wait until <not<key [space v] pressed?>>

  • Continuously moving motors

when [space v] key pressed
turn [motor v] on
wait until <not <key [space v] pressed?>>
turn [motor v] off

See Also