Scratch (programming language)

**Scratch** is a block-based visual programming language and vector/raster graphics editor for children designed to create things such as games, animations, art, and stories. It allows them to explore and experiment with the ideas of computer programming by using "blocks" that are put together to make simple code. There is also a discussion page with multiple forums mainly used for chatting and help with coding.

Although made for children 8-16, Scratch can be used to produce simple or complex programs. Some notable users who push the boundaries of what Scratch can do include: Griffpatch, -Myths-, TimMcCool, Will_Wam, RAMANRANJAN2282and World_Languages and many more users.

Scratch is translated into 40+ languages and is used in homes, schools, and after-school clubs in nearly every country in the world. Scratch is often used in teaching coding, computer science, and computational thinking. Teachers also use it as a tool across many other subjects, including math, science, history, geography, and art. The Scratch Team is an organization that helps maintain, manage, and help keep Scratch safe. They also do helpful tutorials for coding help and support. Scratch is free to use.

## User interface

The area where the user can interact is called the _stage area_. The _stage area_ features all of the animations, graphics, drawings, and other visual features. The list of sprites on screen are placed below the stage area to show a list of sprites that are usable for the program. The stage is organized through x and y coordinates, with the center coordinate (0, 0) in the center of the stage. The stage is 480 pixels wide and 360 pixels tall, with a range between x=-240 to x=240 in width and a range between y=-180 and y=180 in height.

From left to right, in the upper left area of the screen, there is a _stage area_, featuring the results (i.e., animations, turtle graphics, etc., everything either in small or normal size, full-screen also available) and all sprites thumbnails listed in the bottom area. The stage uses x and y coordinates, with 0,0 being the stage center. The stage is 480 pixels wide, and 360 pixels tall, x:240 being the far right, x:-240 being the far left, y:180 being the top, and y:-180 being the bottom.

|Category|Notes||Category|Notes|||
| --- | --- | --- | --- | --- | --- | --- |
||Motion|Moves sprites and changes angles and change X and Y values.|||Events|Contains event handlers that are placed on the top of each group of blocks to start a programme or start to make something happen.|
||Looks|Controls the visuals of the sprite. The sprite may be attached a speech bubble or a thought bubble, the background or sprite can be changed, it can be enlarged or shrunken, it can have transparency, or it can have shading.||Control|Contains conditional if-else statements, as well as conditional statements "forever", "repeat", and "stop".||
||Sound|Plays sound files and allows the programming of a musical sequence.||Sensing|These tools are used for directing sprites to interact with the surroundings that the user has created.||
||My Blocks|Allows you to make your own blocks.||Operators|Mathematical operators, random number generator, and-or statement that compares sprite positions||
||Data|Deals with declaring variables and lists, as well as for adjusting variables and lists.||Extensions|Custom procedures (blocks) and external devices control and can import from PicoBoard or Lego WeDo 1.0/2.0||

## Infobox (programming language)

- **name**: Scratch
- **logo**: Scratchlogo.svg
- **logo size**: 250px
- **size**: 200px
- **screenshot caption**: The Scratch Cat is the mascot of Scratch
- **paradigm**: Event-driven programming, event-driven, Imperative programming, imperative
- **designer**: Mitchel Resnick
- **developer**: MIT Media Lab [http://llk.media.mit.edu/ Lifelong Kindergarten Group]
- **latest release version**: 3.0 /  (online)
3.29.1
- **latest release date**: (offline)
- **typing**: Type system, dynamic
- **implementations**: Scratch
- **programming language**: Squeak (programming language), Squeak (Scratch 1.x series), ActionScript (Scratch 2.0), JavaScript (Scratch 3.0)
- **influenced by**: Logo (programming language), Logo, Smalltalk, HyperCard, StarLogo, AgentSheets, Etoys (programming language), Etoys
- **license**: GPLv2 and [http://info.scratch.mit.edu/Scratch_Source_Code_License Scratch Source Code License]
- **file ext**: .scratch (Scratch 0.x)
sb (Scratch 1.x)
.sb2 (Scratch 2.0)
.sb3 (Scratch 3.0)