Turn Motor On (block)
|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)|
|Please expand this article or section. You can help by talk page. (July 2017)if you are an editor. More information might be found in a section of the|
|Turn Motor On|
Prior to Scratch 2.0, this block was named Motor On.
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