STEP 8: Now let's change the size of our sprite so that it fits better with our scene.

We can use a sprite's variable name to assign actions to a sprite. This is called dot notation.

  • Click on . Drag out Set Size.
  • Change the variable name in front of .set_size(0.5) from sprite to bomb.
  • Change the float argument inside .set_size(0.5) from 0.5 to 0.1.

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)