STEP 3: We will use an interval event to make a shark or a fish appear every two seconds somewhere on the screen.

  • Go to and drag Interval Event into your program.
  • Delete the command that reads: ····sprite.turn_left(15)¬
  • Go to and drop two Random Integer commands inside the interval event, with ····.

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)