Skip to content

Instantly share code, notes, and snippets.

@PullJosh
Created December 22, 2016 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PullJosh/aa842db1cdfe1fe553b2a1ebe2396646 to your computer and use it in GitHub Desktop.
Save PullJosh/aa842db1cdfe1fe553b2a1ebe2396646 to your computer and use it in GitHub Desktop.
All Scratch 2.0 blocks in order of usage (from Scratch statistics page)
Looks:
1. hide
2. switch costume to
3. show
4. say for secs
5. switch backdrop to
6. next costume
7. set size to
8. change effect by
9. go to front
10. say
11. set effect to
12. change size by
13. think for secs
14. go back layers
15. costume #
16. clear graphic effects
17. next backdrop
18. switch backdrop and wait
backdrop #
backdrop name
19. think
20. size
Control:
1. wait secs
2. if
3. forever
4. repeat
5. repeat until
6. if else
7. stop
8. create clone of
9. wait until
10. delete this clone
11. when I start as a clone
Events:
1. when gf clicked
2. when I receive
3. when key pressed
4. broadcast
5. when this sprite clicked
6. when backdrop switches to
7. broadcast and wait
8. when >
Motion:
1. Go to x y
move steps
3. glide
4. point in direction
5. turn right
6. change x by
7. change y by
8. go to [sprite]
9. if on edge bounce
10. set y to
11. turn left
12. x position
y position
14. point towards
15. set rotation style
16. direction
Data:
1. read var
2. set variable to
3. change variable by
4. add to
5. show variable
6. hide variable
7. item of
8. contains
9. length of
10. replace item with
11. delete of
12. insert at
13. show list
14. read list
15. hide list
Operators:
1. =
2. or
3. *
4. pick random
5. <
6. not
7. +
8. -
9. >
10. letter of
11. and
12. join
13. /
14. length of
15. mod
16. __ of __
17. round
Sensing:
1. touching [sprite]
2. key pressed
3. touching color
4. ask and wait
5. answer
6. timer
7. __ of __
8. mouse x
9. color __ is touching __
username
10. mouse down
11. reset timer
12. mouse y
13. distance to
14. current __
15. set video transparency
16. turn video __
Sound:
1. play sound
2. play sound until done
3. play note for beats
4. play drum for beats
5. set volume to
6. stop all sounds
7. set instrument to
8. rest for beats
9. set tempo to
10. change volume by
11. change tempo by
Pen:
1. pen down
2. clear
3. set pen color to [color]
4. stamp
5. pen up
6. set pen size to
7. set pen color to [number]
8. set pen shade to
change pen color by
9. change pen size by
10. change pen shade by
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment