When you see a rock, press the up arrow; when you see the broom, press the down arrow.
Thanks to my Scratch teacher, David.