Skip to content

Api > Bounds > Contains()


Bounds.Contains(Vector3 point)⚓︎

Is point contained in the bounding box?

Parameters:⚓︎

Name Type Description
point Vector3 point

Returns:⚓︎

type Description
boolean Is point contained in the bounding box?

Usage⚓︎

---@type Bounds
local bounds;

---@type Vector3
local point;


local val0 = bounds.Contains(point)