The Distance node takes in 2 values and returns the distance/length between them.
This is similar to using the
Sub node, rearranging the inputs so the higher number is our main value to subtract from, then taking the result and removing the sign (
Value Abs node). Using distance is easier and does all that calculation for you.
Inputs
A (Pseudo-Generic)
The first value.
B (Pseudo-Generic)
The second value.
Outputs
* (Pseudo-Generic)
The distance between 2 values.