Skip to main content

Bounds.SqrDistance(Bounds point)

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

Parameters:

NameTypeDescription
pointBoundspoint

Usage

---@type Bounds
local bounds;

---@type Bounds
local point;


bounds.SqrDistance(point)