switch to costume
block changes the sprite costume to the one you select in the block's dropdown menu. The next costume
block changes the sprite costume to the next one on the list of costumes. Both blocks also work for changing stage backgrounds.
switch to costume
or next costume
to create an animation.
Locations on the Snap! stage (the white rectangle where sprites perform their scripts) are specified by coordinates. The center of the stage is (0, 0). The left edge is x = -240; the right edge is x = 240. The bottom and top are y = -180 and y = 180.
Maybe add: goto random, goto xy, change by x, change by y, set x too and set y to.
repeat
or forever
) and to include a pause (by using wait
) so the animation doesn't happen too quickly.
If you want the text to disappear after a while, use a block with "for () secs
" on the end. If you want the text to stay, use a block without it.
say
or think
with a blank input slot:
repeat
or for
block to slow it down.