Distance

The straight-line distance between two points.

Node id vector/distance

The Distance node outputs how far apart points a and b are, in a straight line: from (100, 100) to (400, 500) it is 500.

Inputs

NameTypeDefaultNotes
aPoint{ x: 0, y: 0 }
bPoint{ x: 0, y: 0 }

Outputs

NameTypeNotes
distancenumber

Behaviour

  • Defaults. Both points default to (0, 0).
  • Never negative. The order of the points doesn't matter.
© 2026 Wirepaint