Api > Room > FindPlayersInBounds()
Room.FindPlayersInBounds(Bounds bounds)⚓︎
Finds list of players which are inside the specified cubic volume defined by bounds.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
bounds | Bounds | The Bounds defining the cubic volume. |
Returns:⚓︎
type | Description |
---|---|
MLPlayer[] | List of players which are inside the specified cubic volume |
Usage⚓︎
---@type Bounds
local bounds;
local val0 = Room:FindPlayersInBounds(bounds)