Victor did it some years ago, and I still remember it!: [url]Snake following]
The example still works , it can take some seconds to open because GD has to update it for GD4.
It’s complex because if you have multiple “object1” you have to distinguish them with an ID variable, and make an “object1” with ID = N to follow the “object1” with ID = N-1, until ID = 0, in which case it has to follow “object0”