FindPlayersInCollider
7/14/25Less than 1 minute
Room.FindPlayersInCollider(Collider collider )
Finds list of players which are inside the specified collider. Uses the volume defined by Bounds of the collider. Same as FindPlayersInBounds.
Parameters:
| Name | Type | Description |
|---|---|---|
| collider | Collider | Collider |
Returns:
| type | Description |
|---|---|
| MLPlayer[] | List of players which are inside the specified collider |
Usage
---@type Collider
local collider ;
local val0 = Room:FindPlayersInCollider(collider )
