Finding the closer object

This is a common problem, try to see this similar post where I explained how to find closest element
Maybe it is not the most performant way, but you just have to take all distances from points to windows (3 x num_of_points distances) and take the minimum item :wink:

2 Likes