Surface Closest Point

As mentioned, do a search here on the forum, as there are many examples of this already. e.g.: