You need to put the code where the original code for drawing the player is. You will also want to draw image_index of -1 if the sprite is animated. For questions like these you should check out the r/gamemaker Discord server: https://discordapp.com/invite/By6u9pC