FANDOM


Blocks are used to create code in Scratch. The blocks connect to each other like a jigsaw puzzle - this prevents syntax errors.

There are eight categories of blocks: Control, Motion, Looks, Sound, Pen, Sensing, Operators and Variables.

Block ShapesEdit

There are six block shapes: Hat, Stack, C, Cap, Boolean and Reporter.

Hat blocksEdit

The shape of a Hat Block

The general shape of a Hat block.

Hat blocks are the blocks that start every script. They are shaped with a rounded top and a bump on the bottom - this is so you can only place blocks below them. There are four Hat blocks, and they can all be found in the Control category.


Stack blocksEdit

The shape of a Stack Block

The general shape of a Stack block.

Stack blocks are the blocks that perform the main commands. They are shaped with a notch at the top and a bump on the bottom - this is so blocks can be placed above and below them. There are 75 Stack blocks, being the most common type of block.


C blocksEdit

The shape of one of the C blocks

The general shape of a C block.

C blocks are blocks that are made up of "C's". Also known as "Wrap blocks", these blocks loop the blocks within the Cs. There are six C blocks, and they can all be found in the Control category.



Cap blocksEdit

The shape of a Cap block

The general shape of a Cap block.

Cap blocks are the blocks that stop scripts. They are shaped with a notch at the top and a flat bottom - this is so you cannot place any blocks below them. There are two Cap blocks, and they can both be found in the Control category.



Boolean blocksEdit

The shape of a Boolean block

The general shape of a Boolean block.

Boolean blocks are the blocks that check if conditions are true or false. Shaped with triangular edges, there are 13 of these blocks.



Reporter blocksEdit

The shape of a Reporter Block

The general shape of a Reporter block.

Reporter blocks are the values. Shaped with rounded edges, there are 26 of these blocks - not counting the infinite amount of variables and lists that can be made.



List of BlocksEdit

There are 125 blocks in Scratch.

Control BlocksEdit

Scratch 1.4 has the following four Control Hat Blocks:

Scratch 1.4 has the following four Control Stack Blocks:

Scratch 1.4 has the following four Control C Blocks:

  • Forever - A loop that will never end.
  • Repeat () - A loop that repeats for the specified amount.
  • Forever If () - A loop that will always check the condition - like putting an If () block inside a Forever block.
  • If () - Checks the condition - if the condition is true, the blocks inside it will activate.
  • If (), Else - Checks the condition - if the condition is true, the blocks inside the first C will activate, and if the condition is false, the blocks inside the second C will activate.
  • Repeat Until () - A loop that will stop once the condition is true.

Scratch 1.4 has the following two Control Cap Blocks:

Motion BlocksEdit

Scratch 1.4 has the following thirteen Motion Stack Blocks:

Scratch 1.4 has the following three Motion Reporter Blocks:

Motor BlocksEdit

Motor blocks are extra blocks, used with Lego WeDo Kit.

Scratch 1.4 has the following Motor Stack Blocks:

Looks BlocksEdit

Scratch 1.4 has the following fifteen Looks Stack Blocks:

Scratch 1.4 has the following two Looks Reporter Blocks:

Sound BlocksEdit

Scratch 1.4 has the following eleven Sound Stack Blocks:

Scratch 1.4 has the following two Sound Reporter Blocks:

Pen BlocksEdit

Scratch 1.4 has the following eleven Pen Stack Blocks:

Sensing BlocksEdit

(Not Updated)Scratch 1.4 has the following two Sensing Stack Blocks:

Scratch 1.4 has the following seven Sensing Boolean Blocks:

  • Touching ()? - The condition for checking if the sprite is touching the mouse-pointer or another sprite.
  • Touching Color ()? - The condition for checking if the sprite is touching a specific color.
  • Color () Is Touching ()? - The condition for checking if a color on the sprite is touching a specific color.
  • Mouse Down? - The condition for checking if the mouse is down.
  • Key () Pressed? - The condition for checking if the specified key is being pressed.
  • Loud? - The condition for checking if the speaker input is loud.
  • Sensor () - The condition for checking various input on a Sensor Board.

Scratch 1.4 has the following eight Sensing Reporter Blocks:

  • Answer - The most recent input with the Ask () And Wait block.
  • Mouse X - The mouse-pointer's X position.
  • Mouse Y - The mouse-pointer's Y position.
  • Distance To () - The distance from the sprite to the mouse-pointer or another sprite.
  • Timer - How much time has passed since the Scratch program was opened or the timer reset.
  • () Of () - The X position, Y position, direction, costume, size or volume of the Stage or a sprite.
  • Loudness - How loud the noise is that the speakers are sensing.
  • () Sensor Value - Various values for things with a Sensor Board - and other Scratch programs' variables with Mesh.

Operators BlocksEdit

Scratch 1.4 has the following six Operators Boolean Blocks:

  • [[() < () (block)|() < ()]] - The condition for checking if a value is less than the other.
  • () = () - The condition for checking if two values are equal.
  • [[() > () (block)|() > ()]] - The condition for checking if a value is greater than the other.
  • () And () - Joins two conditions.
  • () Or () - Joins two conditions, but they function separately.
  • Not () - Makes the condition checked if it is false, not true.

Scratch 1.4 has the following eleven Operators Reporter Blocks:

  • () + () - The value of the addition.
  • () - () - The value of the subtraction.
  • () * () - The value of the multiplication.
  • () / () - The value of the division.
  • Pick Random () To () - Picks a random number between the two limits.
  • Join ()() - The two values put right next to each other.
  • Letter () Of () - The specified character of the value.
  • Length of () - The length of the value.
  • () Mod () - The remainder of the division.
  • Round () - Rounds the value to the nearest whole number.
  • () Of () - The abs, sqrt, sin, cos, tan, asin, acos, atan, ln, log, e^ or 10^ of a specified value.

Variables BlocksEdit

Scratch 1.4 has the following eight Variables Stack Blocks:

Scratch 1.4 has the following four Variables Reporter Blocks:

Scratch 1.4 has the following Variables Boolean Block:


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.