Have you seen the “My Blocks” category in the Scratch blocks palette? When you click on it, no blocks are present until you create one. Let’s explore how to create a customized block and when and why you might want to use them.
The "broadcast" and "when I receive" blocks work together. The "broadcast" block sends a message from one sprite to another. The "when I receive" block tells a sprite what to do when it receives that message.
Have you ever wanted to create a Scratch program that is interactive or offers multiple outcomes? Some Scratch programs are static: the outcome is fixed and the same thing happens each time. Some are dynamic: they are capable of action or change each time they are run. In order to create dynamic programs, the programmer can use conditional statement blocks (in the Control blocks category) to give instructions on how the project should respond in different circumstances.
Have you used Variable or List blocks in a Scratch project? They can be a powerful tool when you are creating customized programs. Perhaps you have used a variable to store a game score, but did you know a variable can hold numbers or text (also known as a “string”)? And if you are storing a lot of custom information, using a list may be more efficient than creating multiple variables. Let’s explore what variables and lists are, and see a number of ways they can be used.
Use operator blocks to create math games, join text to information stored in variables, complete conditional statements, and more!