one sprite follows another

hi, I am building a snake game and I have found it difficult to make the sprite follow the frame, how can I achieve this?

I am not sure what you mean by the frame.

Anyway, here is a spriteless version based on lists:

hi, when it eats the snake it grows, adding a new sprite to the tail.