Distance Between to Points?

How do we find the X, and Y distances between points?

Use the “discontinuity” component to get the points and then use “list item” to select individual points and connect them using the “distance” component

Thank you @tay.othman, your solution appears to provide the straight distance between the two points, what I’m looking for are the X and y distances …

Here’s one way to get x & y distance between two points. just use the deconstruct component and get the difference between the respective x and y components. The absolute value is so you don’t have to worry about the order of the points when you select them.
mjd_pt_dist.gh (5.4 KB)


xy.gh (9.4 KB)

Another Option using Deconstruct Bounding Box

Hello
if you need Max(X,Y) look at Chebyshev distance and if (X+Y) look at Manhattan Distance.