Block types
Scratch is a "block-based" programming language. This means instead of writing lines of code to program, we use "blocks". Each block has a specific category that describes what its purpose is.Sprites are the objects that perform actions in a project and these blocks tell the sprites what to do. Code blocks can also tell a stage or backdrop how to behave.
- Play audio by recording sounds, using Midi notes and more.
- Trigger scripts or series of code blocks. Consists mainly of hat blocks which start a script.
- Let multiple sprites interact with themselves and/or the stage. Can determine how two sprites collide for example.
- Allow various mathematical functions within a project. Can be used to modify variables and strings.
- Used to store data in projects, like a name or a score.
This guide was first published on Jan 18, 2019. It was lastupdated on Mar 08, 2024.
This page (Block types) was last updated on Mar 08, 2024.
Text editor powered by tinymce.