How to calculate the straight line distance between selected objects

Length of A-B. Or even:

image

Same thing.

Thank you, but I don’t know how to connect this step

If you have at least 2 elements in that array:

1 Like

Thank you for your help :grin: