# WarriorsLib.GetResourceCountInArea

## `WarriorsLib.GetResourceCountInArea(`x, y, radius\[, resourceType]`)` <a href="#warriorslib.getresourcecountinarea-x-y-radius-resourcetype" id="warriorslib.getresourcecountinarea-x-y-radius-resourcetype"></a>

`only available since version 1.4`

Returns the amount of ressources in a given area. if a ressourceType is ommitted, the number will only reflect this ressourcetype.&#x20;

#### return value <a href="#rueckgabewert" id="rueckgabewert"></a>

count of ressources

```
coming soon
```
