What does “my neighbors” actually do?

I don’t know what the “my neighbors” function actually does, at first I thought it returned the sprites that are touching the current sprite but that’s not the case. So what does it actually do

So basically it returns what sprites have their bounding boxes touching?

I’m not sure about that as I’ve had sprites that are not touching in bounding boxes by over 50 units and they still are neighbors

I think its not an exact science :slight_smile:

There has to be some sort of algorithm to it because it always returns the same thing if no sprites move

Taken from the Manual:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.