STEP 16: Let's make it so that the garbage sprites disappear when they reach the trash can.

  • Go to and drag Turn Right inside the click event. This should be indented three times!
  • Drag out Remove Sprite so that it is also inside the click event. This should be indented three times!
  • Click Run and try to click the sprites! Can you get them all? Let's slow down how fast each sprite appears!
  • Drag out Wait below and outside the click event, indented only twice! Change the time from 2 to timer.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)