Vector.dist(a, b);No description
Arguments
aThe first pointbThe second pointReturns
numberThe distance between the two pointslocal a = createVector(300, 500);
local b = createVector(200, 250);
local distance = a:dist(b);
print(distance);Vector.dist(a, b);No description
aThe first pointbThe second pointnumberThe distance between the two pointslocal a = createVector(300, 500);
local b = createVector(200, 250);
local distance = a:dist(b);
print(distance);