(Scratch 2.0 Scripts Area: Moved image and changed wording.)
(Scratch 2.0 Scripts Area: Added that the scripts area is on the other side)
Line 20: Line 20:
 
==Scratch 2.0 Scripts Area==
 
==Scratch 2.0 Scripts Area==
 
[[File:Scratch-2.0-Scripts-Area.png|thumb|150px|The Scratch 2.0 scripts area showing a block and the context menu.]]
 
[[File:Scratch-2.0-Scripts-Area.png|thumb|150px|The Scratch 2.0 scripts area showing a block and the context menu.]]
In [[Scratch 2.0]], the scripts area is styled differently, with light gray dots over a silver background. Instead of accessing the context menu by right-clicking, users shift-click for it. The menu has choices to change the size of scripts.
+
In [[Scratch 2.0]], the scripts area is styled differently, with light gray dots over a silver background, and is also on the opposite side of the screen. Instead of accessing the context menu by right-clicking, users shift-click for it. The menu has choices to change the size of scripts.
 
[[Category:Scratch Program]]
 
[[Category:Scratch Program]]

Revision as of 18:06, 18 May 2012

File:Scripts Area.png
The Scripts Area is where scripts can be assembled.
The Scripts Area is the area where scripts are assembled. It can be accessed from both the Stage and from sprites, although the Stage and each sprite all have separate Scripts Areas and scripts. It is a gray pinstriped rectangle, whose size can be changed by clicking the buttons next to the button to toggle Presentation Mode.

The Scripts Area menu consists of three options when right-clicked. It can also be brought up by holding down the left mouse, as a feature for one button mouses. The options are:

  • Clean Up: This feature allows a user to organize oddly placed scripts. Scratch will order them vertically on the left side of the Scripts Area, with a slight space in between each.
  • Save Picture of Scripts: This feature allows for a user to save a picture of all the scripts in the area. This option opens the Scratch File Browser, which allows a user to choose where in their system they would like to place the image, which may be shrunken if necessary. It is by default a .GIF file.
    File:RightClick.png
    The three right-click options in the Scripts Area.
  • Add Comment: This was created as a replacement for the comment block in Scratch 1.2. It was removed because it confused users; it has no effect on a sprite's scripts. After much protesting of its removal on the Scratch Website, the current comment feature was introduced in Scratch 1.3. It allows for a user to type notes or helpful comments in a convenient area, usually explaining how their scripts work. The user can also attach it to scripts and adjust its width. Despite all of their help, comments greatly slow a project's speed - they are sometimes avoided or placed detached from their wanted places in their script.
    The default comment.
  • Duplicate: Duplicates the script and allows the user to place it either somewhere else within the sprite or on another sprite.
  • Delete: Only shown on the top of a script; deletes the whole script.

Use

To code in Scratch, simply drag blocks out from the eight palettes and assemble them in the Scripts Area. If necessary, scroll bars will appear to extend the area downwards or to the right.

Blocks can be removed by dragging into the block palettes, where they disappear. Another way to delete blocks is to right-click (control-click also works on Macs) and click "delete" in the drop-down menu that appears.

Switching to Scripts Area

The scripts area button circled in red.

There are two easy ways to switch to the scripts area:

  1. Click Scripts
  2. Drag a block over the costumes or sounds tab and it will switch to the scripts tab

Scratch 2.0 Scripts Area

The Scratch 2.0 scripts area showing a block and the context menu.

In Scratch 2.0, the scripts area is styled differently, with light gray dots over a silver background, and is also on the opposite side of the screen. Instead of accessing the context menu by right-clicking, users shift-click for it. The menu has choices to change the size of scripts.