I'm making a platformer where a player goes through the level first, and then a new evemy Sprite spawns and copies the exact way that the player has just passed the level. I understand I can use arrays to store player input and later use it to make the enemy sprite move accordingly. But I can't seem to find a cohesive answer or tutorial on how to do it. Maybe some of you can help or show examples?