How to get closest point between 2 objects?

If I do a line trace from Location (yellow dot) to the mesh’s location (green dot), the trace’s hit location will be where the red dot is, which is not the closest point on the mesh to the Location (yellow dot). The blue dot is the closest point on the mesh to the Location (yellow dot). I’m trying to figure out how to get the closest point (blue dot) in blueprints. The method I use needs to be able to work with meshes of all shapes and sizes.