Distance

Measures the distance between two points, which is the length of the straight line segment connecting them.

Interface

Inputs

ParameterDetailsPossible Types
Position From

The point the distance is measured from.

Primary Input

Vec2[]
Vec2
Position To

The point the distance is measured to.

Default: DVec2(0.0, 0.0)

Vec2[]
Vec2

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]