I have a large sprite with many image points on them, (about 40). Each image point has a name that tells me what the image is about. Another small sprite moves around it randomly an stops at a specific time. Then i loop through the image points using distance() to find the closest one. All this works well and I get the index to the image point but I have no way to get the image name.
I can work around it by storing all the names in an array and looking them up once I have the image point index.
It would be a useful to be able to get sprite1.imagepointname(loopindex) the same way we can get the sprite1.imagepointx(loopindex) as it would save keeping another array in sync with the image points.