Move the mouse around, and the arrow will point to the closest button Press 'i' to see more info
This happens because each clone has a clone ID. Since they have an ID, they can all replace their assigned item on a list. In this case, all the clones are replacing the list items with the distance to the pointer. Next, the code finds the lowest value on that list and finds the ID of the clone that has that value. After that, the pointer points to it.