Static function
Moderate
Client.GetActorsInRadius
Returns the actors within the specified radius
Syntax
Client.GetActorsInRadius(location, radius, only_classes = [])
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
location
|
Vector | — | The center location of the search |
radius
|
number | — | The search radius |
only_classes
optional
|
string[] | [] |
Only actors of these classes will be returned (pass empty for all classes) |
Returns
- Actor[] The actors found in radius