Detects keyboard inputs, mouse positions, and physical collisions.
The editor is divided into three primary sections that work together to bring your project to life:
Triggers your code to run (e.g., clicking the Green Flag). scratchmitedu-projects-editor-tutorial-getstarted
Now, click the block category (purple). Drag this block and snap it directly underneath the first block:
Drag the when green flag clicked block into the center Code Area. This block ensures your game starts clean every time the user plays it. Step 2: Set a Starting Position Click on the category (Blue). Drag this block and snap it directly underneath
Controls movement, positioning, and rotation.
At the top-left of the editor workspace, you will see three tabs: , Costumes , and Sounds . Switching between these tabs changes what you are editing for the currently selected sprite. The Code Tab Controls movement, positioning, and rotation
Creating a free account is strongly recommended because it unlocks critical features. Without an account, your project lives only in your browser's temporary memory. If you close the tab or clear your cache, your hard work could vanish. With an account, your projects are saved to the Scratch cloud. You can access them from any computer, with the world, and join studios or forums.
In Scratch, every object, character, or item you program is called a . By default, every new project starts with the iconic Scratch Cat sprite. In this section, you can add new sprites, delete existing ones, and change their names, sizes, visibility, or positions on the stage using X and Y coordinates. The Backdrops Area (Far Bottom Right)