From Test-Scratch-Wiki

(Redirected from Eng:Motor Off (block))

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.



Turn Motor Off
2.0 Turn Motor Off.png
Category LEGO WeDo
Type Stack
Introduced in 1.4

The Turn Motor Off block is a LEGO WeDo block and a Stack block. The block deactivates a LEGO WeDo motor.

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

Example Uses

  • Stopping a vehicle

when [1 v] key pressed
turn motor on

when [0 v] key pressed
turn motor off

  • Stopping a fan

when I receive [stop fan v]
turn motor off

  • Stopping gears, therefore stopping a machine

when this sprite clicked
turn motor off

Workaround

Main article: List of Block Workarounds

This block can be replicated with the following code:

turn motor on for (0) secs

Or, this can be used:

set motor power (0)

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.