# Settlement NearestSet(point, str, int, int)

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
Settlement NearestSet(point, str, int, int)
```

## Description

NearestSet four-argument overload forwards the class, decremented player and supplied relation mask.

## Parameters and return type

**Return type:** `Settlement`

| Position | Type |
| --- | --- |
| 1 | `point` |
| 2 | `str` |
| 3 | `int` |
| 4 | `int` |

## Other overloads

Check the exact signature. A description of one overload does not automatically document the others.

- [`Settlement NearestSet(point, str, int)`](/imperivm/en/CKS/reference/api-881f67e48159d4/)
- [`Settlement NearestSet(point)`](/imperivm/en/CKS/reference/api-0028f08086b545/)

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-7ffe591ff24ab7.md)
- [JSON](/imperivm/CKS/api/entries/api-7ffe591ff24ab7?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
