LEGO Education WeDo 2.0: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Do these blocks have to have the same names..) |
No edit summary |
||
Line 4: | Line 4: | ||
}} |
}} |
||
The '''LEGO Education WeDo 2.0''' is an extension that originally comes from Scratch. |
The '''LEGO Education WeDo 2.0''' is an extension that originally comes from [[Scratch]]. |
||
==Blocks== |
==Blocks== |
||
*turn |
*[[turn () on for () seconds|<sb>turn (motor v) on for (1) seconds</sb>]] |
||
*turn |
*[[turn () on|<sb>turn (motor v) on</sb>]] |
||
*turn |
*[[turn () off|<sb>turn (motor v) off</sb>]] |
||
*set |
*[[set () power to ()|<sb>set (motor v) power to (100)</sb>]] |
||
*set |
*[[set () direction to ()|<sb>set (motor v) direction to (this way v)</sb>]] |
||
*set light color to () |
*[[set light color to ()|<sb>set light color to (50)</sb>]] |
||
*when distance |
*[[when distance () ()|<sb>when distance (\< v) ()</sb>]] |
||
*[[when tilted () (LEGO Education WeDo 2.0)|<sb>when tilted (any v)::wedo</sb>]] |
*[[when tilted () (LEGO Education WeDo 2.0)|<sb>when tilted (any v)::wedo</sb>]] |
||
*[[distance (LEGO Education WeDo 2.0)|<sb>distance</sb>]] |
*[[distance (LEGO Education WeDo 2.0)|<sb>distance::wedo</sb>]] |
||
*[[tilted ()? (LEGO Education WeDo 2.0)|<sb>tilted (any v)?::wedo</sb>]] |
*[[tilted ()? (LEGO Education WeDo 2.0)|<sb>tilted (any v)?::wedo</sb>]] |
||
*[[tilt angle (LEGO Education WeDo 2.0)|<sb>tilt angle (up v)::wedo</sb>]] |
*[[tilt angle (LEGO Education WeDo 2.0)|<sb>tilt angle (up v)::wedo</sb>]] |
||
===Hidden Block=== |
|||
Scratch and PenguinMod have a hidden block called [[play note () for () seconds|<sb>play note () for () seconds</sb>]]. It was a block in this extension during Scratch 2.0, with there being a dropdown instead of the first input, but was hidden due the sound it made being too quiet. However, the block is still functional and shows up fine. <ref>https://github.com/scratchfoundation/scratch-vm/pull/1487</ref><ref>https://en.scratch-wiki.info/wiki/LEGO_Education_WeDo_2.0_Extension#Removed_Block</ref><ref>https://scratch.mit.edu/projects/866777252/editor</ref> |
|||
==References== |
|||
<references/> |
|||
{{ExtensionsNav}} |
{{ExtensionsNav}} |
||
[[Category:Vanilla Extensions]] |
|||
[[Category:Internet Extensions]] |
Latest revision as of 21:41, 3 July 2024
LEGO Education WeDo 2.0 | |
---|---|
[[File:![]() | |
Description | Build with motors and sensors. |
The LEGO Education WeDo 2.0 is an extension that originally comes from Scratch.
Blocks
turn (motor v) on for (1) seconds
turn (motor v) on
turn (motor v) off
set (motor v) power to (100)
set (motor v) direction to (this way v)
set light color to (50)
when distance (\< v) ()
when tilted (any v)::wedo
distance::wedo
tilted (any v)?::wedo
tilt angle (up v)::wedo
Hidden Block
Scratch and PenguinMod have a hidden block called play note () for () seconds
. It was a block in this extension during Scratch 2.0, with there being a dropdown instead of the first input, but was hidden due the sound it made being too quiet. However, the block is still functional and shows up fine. [1][2][3]