Part of StarfallEx namespace
๐ External
find.closest(ents, pos)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Finds the closest entity to a point
Parameters
| Name | Type | Description |
|---|---|---|
ents | table | The array of entities |
pos | Vector | The position |
Returns
| Type | Description |
|---|---|
Entity | The closest entity |
Examples
No examples available.
Used In
No usages found in the codebase.