--- title: "Distance to Line" url: "https://help.maxon.net/c4d/en-us/Content/html/NET_MAXON_NEUTRON_ASSET_MATH_DISTANCETOLINE.html" section_path: "The Node Editor > The individual Assets > Math > Distance to Line" element_id: "NET_MAXON_NEUTRON_ASSET_MATH_DISTANCETOLINE" description: "This page covers the Distance to Line node of the Scene Nodes system in Cinema 4D. It finds the point on a line between two coordinates closest to a given …" --- # Distance to Line > **Note:** **What is it about?** > > This page covers the **Distance to Line node** of the Scene Nodes system in **Cinema 4D**. It finds the point on a line between two coordinates closest to a given position — a geometric helper for projections and proximity logic. This can be used to output the position along an imaginary line between two coordinates that has the shortest distance to a given position. ![Image: 2023-2_node_distance_to_line_01.png](https://help.maxon.net/c4d/en-us/Content/Resources/Images/2023-2_node_distance_to_line_01.png)\ Here the shortest distance between a zero system (see top right) to a line is calculated. The corresponding position on the line is marked by a sphere and its distance to the zero system is output as a numerical value.