Skip to main content

Room.FindPlayersInBounds(Bounds bounds)

Finds list of players which are inside the specified cubic volume defined by bounds.

Parameters:

NameTypeDescription
boundsBoundsThe Bounds defining the cubic volume.

Returns:

typeDescription
MLPlayer[]List of players which are inside the specified cubic volume

Usage

---@type Bounds
local bounds;


local val0 = Room:FindPlayersInBounds(bounds)