> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dotouch-emu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getEntitiesCount

> Obtenir le nombre total de combattants sur le terrain.

Obtenir le nombre total de combattants sur le terrain.

#### 🎮 Méthode

```lua theme={null}
fightAction:getEntitiesCount()
```

#### 💎 Valeur de retour

| Type  | Description                |
| ----- | -------------------------- |
| `int` | Nombre d'unités en combat. |

#### 💡 Exemple

```lua theme={null}
fightDebug:print("Total des entités : " .. fightAction:getEntitiesCount())
```
