1.3.1 Code Tab

View

Code is the default tab we see when we open a Scratch project, it helps us to access the block palette.

It is important to realize that a Sprite cannot do anything by itself. A Sprite’s actions are a response to scripts that are added by the user into the Script’s (or program code) area. These scripts written in sequence are the instructions that tell the sprite what to do.


The user drags individual pieces of code (blocks) from the Block Palette into the Script area. These blocks then fit together like bricks to create the instructions for the Sprite.

 


We can still add a new block palette by clicking on the add extension button at the bottom of the block palette.

A new palettes extension appears, and you can choose the one that you can top up with the existing palette blocks.  This will show you a page with different categories of blocks to extend your current palette. Some of these are quite advanced and complex, so for now we will be sticking to our default block palette.


Last modified: Wednesday, 22 September 2021, 4:21 PM