Scratch is a new programming language that makes it easy to create interactive stories, games, and animations – and share your creations with others on the web. This Reference Guide provides an overview of the Scratch software. If you are just getting started with Scratch, we encourage you to try the Getting Started Guide first(http://scratch.mit.edu/files/ScratchGettingStarted.pdf). Then, if you want more detailed information, come back to the Reference Guide. The Scratch website has many other resources to help you learn Scratch: Video Tutorials, Scratch Cards, and Frequently Asked Questions (FAQs). See http://scratch.mit.edu/howto For the latest version of this Reference Guide, see http://scratch.mit.edu/files/ScratchReferenceGuide.pdf
BASICINGREDIENTS OF A SCRATCH PROJECT
Scratch projects are made up of objects called sprites. You can change how a sprite looks by giving it a different costume. You can make a sprite look like a person or a train or a butterfly or anything else. You can use any image as a costume: you can draw an image in the Paint Editor, import an image from your hard disk, or drag in an image from a website. You cangive instructions to a sprite, telling it to move or play music or react to other sprites. To tell a sprite what to do, you snap together graphic blocks into stacks, called scripts. When you double-click on a script, Scratch runs the blocks from the top of the script to the bottom.
Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab, with financial support from theNational Science Foundation, Intel Foundation, and the MIT Media Lab research consortia.
2. SCRATCH INTERFACE
ROTATION STylE Control whether costumes rotate with the sprite. CURRENT SPRITE INFO TABS Click tabs to edit scripts, costumes, or sounds. TOOlBAR GREEN FlAG A way to start scripts. PROJECT NOTES
STAGE Where your scratchcreations come to life.
BlOCkS PAlETTE Blocks for programming your sprites.
NEW SPRITE BUTTONS Create a new character or object for your project. SPRITE lIST Thumbnails of all your sprites. Click to select and edit a sprite. SCRIPTS AREA Drag blocks in, snap them together into scripts. PRESENTATION mODE
The Stage is where you see your stories, games, and animations come to life.Sprites move and interact with one another on the Stage. The Stage is 480 units wide and 360 units tall. It is divided into an x-y grid. The middle of the Stage has an x-coordinate of 0 and a y-coordinate of 0.
x:-240 y:180 x:240 y:180
y x:-240 y:-180 x x:240 y:-180
To find out x-y positions on the Stage, move the mouse around and look at the mouse x-y display just below the Stage, on theright.
Click the Presentation Mode button to see projects at full-screen size. To exit Presentation Mode, press the Esc key.
NEW SPRITE BUTTONS
When you start a new Scratch project, it begins with a single cat sprite. To create new sprites, click on these buttons: Paint your own costume for a new sprite using the Paint Editor.Select a costume for a new sprite – or import an entire sprite. Get a surprise sprite. If you want to delete a sprite, select the scissors from the Toolbar and click on the sprite. Or right-click on the sprite and select delete from the pop-up menu. To make a sprite that looks like part of the Stage background, right-click the Stage and select grab screen region for new sprite.
SPRITE lISTThe Sprite List displays thumbnails of all of the sprites in the project. For each sprite, it shows the sprite’s name, how many scripts it has, and how many costumes it has.
To see and edit a sprite’s scripts, costumes, and sounds, click on the sprite’s thumbnail in the Sprite List – or double-click on the sprite itself on the Stage. (The selected sprite is highlighted and outlined in blue in...