Scratch programming 1

Cards (17)

  • Scratch is a visual programming language that uses graphical elements called blocks
  • At the upper right side of the editor's workspace is the stage. This is the presentation area of the editor, and is where Sprites are drwan or placed.
  • The Script Area is where you will code.
  • Motion Blocks give instructions on a sprite's movements.
  • There are currently 18 motion blocks.
  • Looks blocks control a sprite's appearance
  • Events Blocks are yellow and are the key components of a scratch project as they specify the conditions or events that need to happen.
  • Control Blocks are gold/orange in color and provide control to scripts
  • Sensing Blocks are used to detect the state of different factors of a project.
  • Operators Blocks handle strings like Boolean inputs, and are also used to script math equations.
  • Command blocks or stack blocks are the most common type of block shape.
  • Trigger blocks tell Scratch that you are about to start creating your project and to look out for a specific event.
  • Function blocks are a special class of blocks. They can change some stack blocks behave and work in the context of a script.
  • Boolean blocks compare and check for the validity of conditions instead of holding values.
  • Control Blocks or C Blocks are named because of the opening, or mouth, on one side that allows users to put blocks in, making them look like the letter c.
  • Scratch lists are the other part of the Variables blocks category. They are usually defined within the context of Scratch as block of information that holds several other pieces of information.
  • Broadcast Blocks are used to set up any needed timing between sprites (and any clones) as well as the Stage.