On PC, use the A and D (or left and right arrow) keys to change the sprite. On mobile, use the buttons on the sides. Simple!
Quick warning, the boss battle isn't exactly complete. Go to https://www.youtube.com/watch?v=hswUBDa3YGQ if you want to make the "3D" "engine" yourself!