This API method is rather pointless. Not only is it hardly simplifying an already simple solution, but its restricted to the Character’s head to the Vector3 point. (You could argue why the head and not the Torso as its closer to center of mass of the humanoid?)
And really all you have to do is (Character.Head.Position-Vec2).magnitude and you get the same results as the API with more flexibility.
All this API method is, is API bloat and serves pretty little purpose and its use should be discouraged.