> For the complete documentation index, see [llms.txt](https://docs.settlers-united.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.settlers-united.com/s4-lua-api-de/library-functions/settlers/settlers.amountinarea.md).

# Settlers.AmountInArea

## `Settlers.AmountInArea(Spieler, Siedlertyp, x, y, Radius)`

Ermittelt die Anzahl der Siedler eines Typs und Spielers in einem bestimmten Gebiet.

`Radius [0-74]`

#### Rückgabewert

Anzahl

#### Beispiel

```lua
Settlers.AmountInArea(1, Settlers.THIEF, 100, 200, 25)
```
