Skip to content

Api > Bounds > SqrDistance()


Bounds.SqrDistance(Bounds point)⚓︎

The smallest squared distance between the point and this bounding box.

Parameters:⚓︎

Name Type Description
point Bounds point

Usage⚓︎

---@type Bounds
local bounds;

---@type Bounds
local point;


bounds.SqrDistance(point)