Every block available in Scrap, grouped by category. Pick a category to see each block along with an example.
Move and rotate sprites around the stage.
18 blocks
Change how sprites and the stage look: costumes, backdrops, visibility, size, and speech bubbles.
27 blocks
Play and control sound effects and music.
5 blocks
Draw on the stage with a virtual pen: colour, size, and stamping.
12 blocks
React to things happening: the project starting, key presses, clicks, timers, and messages between sprites.
9 blocks
Control the flow of your program: conditionals, loops, error handling, and sprite cloning.
16 blocks
Ask questions about the world: input, collisions, mouse/keyboard state, time, and dates.
25 blocks
Do math, compare values, combine booleans, and work with text and random numbers.
25 blocks
Create, read, and transform arrays and strings.
10 blocks
Declare variables and reusable functions, and call them with arguments.
2 blocks