PLAYGROUND (experimental)

distance

Calculates the distance between two points
distance(
    x1, 
    y1, 
    x2, 
    y2
)

Calculates the distance between two points

Syntaxe

distance(x1=0, y1=0, x2=10, y2=10)

Arguments

NameTypeRequiredDefaultDescription
x1yes-x-coordinate of the first point
y1yes-y-coordinate of the first point
x2yes-x-coordinate of the second point
y2yes-y-coordinate of the second point