Page 73 - Dig_CodeAI_V2.1_Class_7
P. 73
6 Drag the if-then block and drop it below
the set to block inside the on start block.
5 Click on the
Logic blocks
category.
8 Drag the num variable
from the Variables blocks
7 Drag the less than category and drop it into
block from the Logic the first value box of the
blocks category and drop less than block.
it into the condition area.
9 Click on the down
arrow of the less
than block and select
the > sign.
10 Drag the splash block
from the Game blocks
category and drop it
inside the if block.
11 Type Number is positive in the
message area of the splash block.
More on MakeCode Arcade 71

