FindPlayersInBounds
7/14/25Less than 1 minute
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)
