STEP 10: Uh oh! Looks like our captain is experiencing some friendly fire.

  • Go to and drag in Sprite Collision Off ABOVE your Collision event.
  • Assign .collision_off() to captain by changing the variable name in front from sprite to captain.

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)