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

# isHandToHand

> Vérifier si deux cellules sont adjacentes (portée corps-à-corps).

Vérifier si deux cellules sont adjacentes (portée corps-à-corps).

#### 🎮 Méthode

```lua theme={null}
fightAction:isHandToHand(firstCellId, secondCellId)
```

#### 📝 Arguments

| Nom            | Type  | Description                         |
| -------------- | ----- | ----------------------------------- |
| `firstCellId`  | `int` | Identifiant de la première cellule. |
| `secondCellId` | `int` | Identifiant de la deuxième cellule. |

#### 💎 Valeur de retour

| Type      | Description                          |
| --------- | ------------------------------------ |
| `boolean` | `true` si adjacentes, `false` sinon. |

#### 💡 Exemple

```lua theme={null}
if fightAction:isHandToHand(fightCharacter:getCellId(), enemyCell) then
    fightDebug:print("En portée corps-à-corps")
end
```
