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

# restartScript

> Redémarre le script en cours.

Redémarre le script en cours.

#### 🎮 Méthode

```lua theme={null}
global:restartScript(clearState)
```

#### 📝 Arguments

| Nom          | Type      | Description                                              |
| ------------ | --------- | -------------------------------------------------------- |
| `clearState` | `boolean` | `true` pour effacer la mémoire du script au redémarrage. |

#### 💎 Valeur de retour

| Type   | Description |
| ------ | ----------- |
| `void` | —           |

#### 💡 Exemple

```lua theme={null}
global:restartScript(false)
```
