Let’s start coding by making a variable called “costume”.
This variable will allow us to to choose 1 of three costumes for our enemy sprite – which will be either a platform the player can land on or spikes the player needs to jump over.