I have an object that moves towards the player if it gets within a distance of 500 pixels of eachother. However, I have 3 of these objects on the same map.
Only the one that I last placed on the map will be used to detect the distance. Once I get close to it, all 3 of the objects come towards me. But if I get close to the other 2, nothing happens.
What can I do to make them all separate? If you know what I mean