TESTER

get_distance

get_distance(from, to)

Return the distance between 2 points

Syntaxe

var result = get_distance(from=[x1,y1], to=[x2,y2])

Arguments

NameRequiredDefaultDescription
fromyes-List of points [x1,y1]
toyes-List of points [x2,y2]