> For the complete documentation index, see [llms.txt](https://gtfo-modding.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gtfo-modding.gitbook.io/wiki/reference/datablocks/main/enemypopulation.md).

# EnemyPopulation

This datablock is used to select enemies by [EnemyGroupDataBlock](/wiki/reference/datablocks/main/enemygroup.md) through filters.

While technically you can have several population blocks, usually only the first block is used both in-game and by modders.

{% hint style="info" %}
Spawning enemies is explained in [EnemySpawningData](/wiki/reference/nested-types/enemyspawningdata.md#how-to-pick-enemy-spawns).
{% endhint %}

## Fields

### RoleDatas - [List EnemyRoleData](/wiki/reference/nested-types/enemyroledata.md) (nested type)

List of enemy role entries.
