Scratching the surface of code
Home
What is Scratch
The Interface
Sprites
Backdrops
Scratch Blocks
Motion
Looks
Sounds
Pen
Data
Events
Control
Sensing
Operators
More Blocks
Scratch Projects
Making Sprites Move
Painting Sprites
Talking Sprites
Changing Backdrops
Making a Quiz
Maths in Scratch
Animating In Scratch
Composing a Song
Scratch Junior
Hardware&Scratch
Raspberry Pi
Events&Me
The control blocks are for when you need to wait between scripts or if you need to repeat something or play it forever.
The wait _ secs block. This is for waiting between blocks.
The repeat _ loop. This will repeat whatever is inside the loop for a few times.
The forever loop. This is like the repeat loop but it does it forever.
If __ then loop. This means if (Example, answer is equal to five) then run some code.
If _ then _ else. This means (Example, answer < 10) then run some code else (or) run a different piece of code.
Wait until block. This block means that you wait until (example, a variable is equal to zero) before running the next piece of code.
Repeat until _ loop. This will repeat a piece (or block) of code until (example answer is equal to five.).
Stop _. This will stop either Everything/ This script/ Other scripts in this sprite.
When I start as a clone. This means when your sprite starts as a clone it will run your code underneath it.
Create clone of me block. This will make a clone of your sprite.
Delete this clone block. This will delete a clone.
The next blocks are the sensing blocks.
Home
What is Scratch
The Interface
Sprites
Backdrops
Scratch Blocks
Motion
Looks
Sounds
Pen
Data
Events
Control
Sensing
Operators
More Blocks
Scratch Projects
Making Sprites Move
Painting Sprites
Talking Sprites
Changing Backdrops
Making a Quiz
Maths in Scratch
Animating In Scratch
Composing a Song
Scratch Junior
Hardware&Scratch
Raspberry Pi
Events&Me