This lists all blocks found in ScratchJr,[1] along with their main Scratch equivalents.


All blocks are named based on ScratchJr's "Block Guide".

Triggering Blocks

This category is equivalent to Events Blocks. They are colored yellow.

Start on Green Flag

Start on Green Flag
Start on Green Flag

This block starts scripts when the sprite's page is switched to with the Go to Page block,[2] or when ScratchJr's Green Flag is clicked. It is mostly equivalent to the when flag clicked block in Scratch, but Scratch lacks support for ScratchJr's pages.

Start on Tap

Start on Tap
Start on Tap

This block starts scripts when the sprite it is in is tapped. This is equivalent to the when this sprite clicked block.

Start on Touch

Start on Touch
Start on Touch

This block starts scripts when another character touches the sprite the block is in. There is no direct equivalent in Scratch, but you can make a script like this:

when gf clicked
wait until <<touching (Sprite1 v)> or <touching (Sprite2 v)>>// Put all the sprites here
...

Start on Message

Start on Message
Start on Message

This is equivalent to the when I receive [ v] block, except that all messages are identified as colors instead of text.

Send Message

Send Message
Send Message

This is equivalent to the broadcast ( v) block. It is also the only block in the triggering category that is not a start block.

Motion Blocks

These blocks are colored blue and are equivalent to Motion Blocks in Scratch, although they have more limited functionality.

Move Right

Move Right
Move Right

This block moves sprites the amount of steps specified. Its Scratch equivalent is change x by () block, with the given amount in units of 24 pixels.

Move Left

Move Left
Move Left

This block is similar to the Move Right block, except it moves the sprite left. The Scratch equivalent is the same as the Move Right block, but the given value is negative.

Move Up

Move Up
Move Up

This block moves a sprite up. It is equivalent to the change y by () block, with the given amount in units of 24 pixels.

Move Down

Move Down
Move Down

This is the same as the move up block, but it moves the sprite down instead.

Turn Right

The sprite will turn right
Turn Right Block

This rotates a sprite clockwise in the same way as turn cw () degrees, with the given amount in units of 30 degrees.

Turn Left

The sprite will turn left
Turn Left Block

This rotates a sprite counterclockwise in the same way as turn ccw () degrees, with the given amount in units of 30 degrees.

Hop

Hop block

This moves a sprite up as if it is jumping, then back down again.

Go Home

The Go Home block.

This returns a sprite to where it was located before the project started running.

Looks Blocks

This is equivalent to Looks Blocks in Scratch, but with fewer features.

Say

Say'hi'block
Say Block

This makes a speech bubble above the sprite. It is similar to say () for () seconds, except the number of seconds is determined by the length of the text to say. It is also able to make empty speech bubbles, which differs from Scratch.

Grow

Grow size increases by 2
Grow Block

This increases the sprite's size similarly to change size by (). Growing by 1 is equivalent to change size by (10).

Shrink

Shrink block decreases 2 in size
Shrink Block

This decreases the sprite's size. Shrinking by 1 is equivalent to change size by (-10).

Reset Size

The sprite will be reset in its original size
Reset Block

This resets the character's size to what it was before the project started running.

Hide

The sprite will hide
Hide Block

Fades the character out until it is invisible. It is similar to hide, but hides the character gradually.

Show

The sprite will show again
Show Block

Fades the character in until it is fully visible. It is similar to show, but shows the character gradually.

Sound Blocks

Unlike sounds in Scratch, sounds in ScratchJr can only be recorded from the device microphone apart from the pop sound, which is almost identical to the one in Scratch.

Pop

This is equivalent to the play sound (pop v) until done block, but the only sound that can be played is "pop".

Play Recorded Sound

This plays a sound that is recorded on the microphone. This is equivalent to recording a sound in Scratch and playing it with the play sound ( v) until done block.

Control Blocks

This is similar to Control Blocks in Scratch.

Wait

Pauses for a specified amount of time in tenths of seconds. This has similar functionality to the wait () seconds block.

Stop

Stops other scripts, in the same way as stop [other scripts in sprite v].

Set Speed

Has a drop-down menu that changes how fast scripts run.

Repeat

This is the only C Block in ScratchJr. It loops the blocks inside like the repeat () block.

End Blocks

This category contains Cap Blocks.

End

This marks the end of a script. However, adding it does not change how the script is run, and scripts will end even without this block.

Repeat Forever

Repeats the entire script forever. It is similar to forever, but blocks cannot be placed before the loop (although this can be simulated by using messages).

Go to Page

This switches the project to the specified page.

Other Blocks

Some blocks do not exist or are not usable in ScratchJr, but can be discovered from its source code.[3]

Caret Blocks

These are gray placeholder blocks used in the project editor to show where a block will go when dropping it into a script. They are not intended for use as actual blocks. They will appear in the code pane if hacked into a project file, but cannot be interacted with directly and do nothing when run.

Caret Command

Placeholder for a Command Block.

Caret End

Placeholder for a Cap Block.

Caret Start

Placeholder for a Start Block.

Caret Repeat

Placeholder for a C Block, or in ScratchJr the Repeat block.

Obsolete Blocks

These were planned to be added at some point in ScratchJr's development but ultimately were not.

Stop All

This was likely an End block equivalent to stop [all v]. It was added to the code[4] and translated[5] but is not usable even if hacked into the project file, so it may have been removed later in development than other blocks. It could have been removed due to confusion with Stop and End or problems with implementation, especially if it was meant to be part of a single stop block like in Scratch.

Start on Chat

This was likely a Triggering block. Very little is known about it, but judging from its name it could have been similar to when [loudness v] > ().

Set Color

This was likely a Looks block. It could have changed the color of the sprite. If added, it would have been the first and only ScratchJr block with a color input. It would also be unique in that it would not have an easy Scratch equivalent, unless it worked similarly to the color effect.

Bigger

This was likely a Looks block similar to Grow.

Smaller

This was likely a Looks block similar to Shrink.

References

Cookies help us deliver our services. By using our services, you agree to our use of cookies.