• Ve a y arrastra Get Image Name adentro del click event.
  • Cambia el nombre de la variable a sprite_img.
  • Cambia el nombre delante del comando .get_image_name() a fish.

Esto almacenará el nombre de la imagen de la figura del fish , ya sea a "shark" o "fish1" , en la variable sprite_img.

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
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)