Step 5: Change Costume and Clone


Now that the costume variable is set to a certain costume, we have to code the enemy sprite to wear that costume.

Once it changes its costume, the enemy sprite can now spawn and move on the screen.


  1. From Looks, place a switch costume to block.
  2. From Variables, place a rounded costume block into the switch costume to block.
  3. From Control, place a create clone of myself block.