I have a horizontal array of boxes, evenly spaced with gaps half the width of each.
Whenever one is dragged (constricted to the horizontal), it parses through a list of the others I create when it’s clicked.
The only other box that recognizes they’re being overlapped is the LAST in the for each loop.
Is there a commonly used method that will give me results for each “other” box, not just the LAST?
Or maybe a three.js built in method?
Possibly JUST finding the CLOSEST “other” square and execute a function for just that one?