
PicoBlocks - Reference
2
My Blocks
You can use this block to give a name to a stack of blocks – and create a new
block that does the same thing as the entire stack. Here’s how:
1. attach the block at the top of the stack you want to name
chirp
chirp
2. click and type a name 3. a new block with that name appears in
4. Use it in other stacks
2chirps
4
repeat
chirps 8 times
store in
box1
box1
store in
box2
box2
Use these blocks for setting and
retrieving the values of variables.
Use
store in
box1
to store a value, and use
box1
to retrieve it.
store in
box1
r a n d o m
30
49
box1
setlight
color
setlight
color
wait
box1
5
box1 stores a
random number
turns a light that random color
waits for 5 ticks
turns a second light the same color