What is a block. Where is it “make a block” documented. Thanks
JMurphy
Make a Block is what?
Greg_Beutler
#2
its to make your own block.
basically you just aggregate other blocks
it makes it more readable
say you wanted to make it turn in a square and drive the LEDs
newblock = squareLEDs
set leds red, green, blue
repeat 4
forward 100
wait 1
turn right 50
wait 1
end of blocks
so if you call “squareLeds” elsewhere in your command it will do all of those commands with 1 command block
All elements in Scratch (upon which mBlock is based) are blocks. When you create a new block under the Data & Blocks palette, you are effectively creating a new function or method similar to text-based languages.