> ## 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.

# random

> Génère un entier aléatoire entre min et max (inclus).

Génère un entier aléatoire entre min et max (inclus).

#### 🎮 Méthode

```lua theme={null}
random(min, max)
```

#### 📝 Arguments

| Nom   | Type  | Description                |
| ----- | ----- | -------------------------- |
| `min` | `int` | Valeur minimale (incluse). |
| `max` | `int` | Valeur maximale (incluse). |

#### 💎 Valeur de retour

| Type  | Description                        |
| ----- | ---------------------------------- |
| `int` | Entier aléatoire entre min et max. |

#### 💡 Exemple

```lua theme={null}
local r = random(1, 10)
```
