Classification of points based on the result of ClosestPoints command

Hi there, I am new to Grasshopper. I divided a surface in different square elements and identified for each element of the tassellation a relevant point (the square centers). Now, I need to associate several random points on the surface (white points) to these relevant center points, based on laws of proximity.
To do so, I used the closest point command in Grasshopper and it sorted the red points

. The problem I have deals with sorting a list showing, for each one of the random points, its relative closest point; I mean, each random point I inserted (in white) should be in such way associated to its one (and only) closest square center.
I attach an image to display it.
How can I solve this?
Thanks to the ones who will reply


3. Attach minimal versions of all the relevant files

1 Like

Thank you for your answer, Joseph_Oster
However, I’d like to connect each inserted point only to its closest one of the surface tessellation. (minimum distance) and find a way to list the outputs with the association. This means that each point is associated to one point of the surface only.
Is there a way to do this?
Thank you in advance