
PicoBlocks - Reference
23
if
then
else
is this true?
forever
motor
on
motor
off
if
then
else
touch?
otherwise do this
if true, do this
If the condition reports true, then run the blocks under the word “then”; if not, run the blocks
under “else”.
stopall
if
then
forever
chirp
touch?
motor
on
stopall
if this is true...
everything stops (including
the motor)
Stops all programs and motors (but leaves lights on).
stopall
is equivalent to pressing the
button on the Cricket.
stack
stop
if
then
forever
chirp
touch?
stack
stop
if this is true...
this stack stops
stopstack
stops only the current stack. You can use this block to stop one stack while
continuing another stack.