Page 114 - CodePilot V5.0 C4
P. 114
Create the given script using all the blocks you’ve learned about, then click the
Green Flag to run it.
when clicked
start sound Meow
glide 1 secs to random position
if touching color ? then
think Am I touching the star?
else
say I am in space.
RAPID RECALL Tick ( ) if you know this.
1. Coding blocks look like puzzle pieces that fit together to make a program.
2. Sound blocks make your projects lively with music and voices.
OPERATOR BLOCKS
Operators blocks are used for mathematical calculations and logical comparisons.
They handle things like addition, subtraction, multiplication and division, as well as
comparing numbers and joining text.
ARITHMETIC OPERATOR
Arithmetic operators are used to do mathematical calculations like addition,
subtraction, multiplication and division.
+ This block adds two numbers together.
- This block subtracts one number from another.
* This block multiplies two numbers.
/ This block divides one number by another.
112 CodePilot (V5.0)-IV

