There are three sprites you can control: cat, red square, and blue square. You can make them show or hide, or go up or down one layer. You can also make cat say a number or stop saying it. Control them by holding down their letter (c, r, b) while typing a command (s, h, up, down). (Hint: up and down mean those arrow keys.) Only the cat can say stuff, so it is easier: n says a number, space bar stops it.
This project shows that speech bubbles are in layers just like sprites are. New speech bubbles are always put one layer higher than the sprite which is "saying" them, but they don't change layers when their sprite does. Also, sprites are still in a layer even if they are hidden! Try this: n, r+up, r+up The red square had moved forward to cover the cat and most of the speech bubble. Then: c+up, c+up This moves the cat back up to the front, but you can see that the speech bubble is still partly hidden by the red square - it did not come up front with the cat. Press n a few times and you can see the new numbers, but still mostly covered up by red. Now try this: remember the number you (partly) see. Then press b+up, so blue comes up and the speech bubble is completely hidden. Now press n again. There is a new number, but you can't see it. It seems like the "say" block is being ignored! But the speech bubble is just behind the other sprites. Press b+h, r+h to hide the squares and see the new number in the speech bubble. #coding #technical #say #layers #scratchtricks