> For the complete documentation index, see [llms.txt](https://rpemotes-reborn.gitbook.io/rpemotes-reborn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rpemotes-reborn.gitbook.io/rpemotes-reborn/fundamentals/getting-set-up/crouching.md).

# Crouching

### Enabling Crouching

By default, crouching is **Enabled** in rpemotes-reborn and is a ***standalone*** implementation. To disable crouching, change <mark style="color:green;">`true`</mark>

{% code title="config.lua" %}

```lua
CrouchEnabled = true,
```

{% endcode %}

to <mark style="color:red;">`false`</mark> in `config.lua`

***

### Changing Crouching Keybind

By default the crouch keybind is set to **LEFT CONTROL** or 'lcontrol' in `config.lua`. To change this, change the value 'lcontrol'

{% code title="config.lua" %}

```lua
CrouchKeybind = 'lcontrol',
```

{% endcode %}

to desired value in `config.lua`

{% hint style="warning" %}
No other changes are needed in config.lua for the keybind change to take effect as crouch keybind is set to <mark style="color:green;">true</mark> by default.&#x20;
{% endhint %}

{% hint style="info" %}
Get the button string [here](https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/).
{% endhint %}

***

### Extras

Crouch override is set to <mark style="color:red;">`false`</mark> by default. If set to <mark style="color:green;">`true`</mark> in `config.lua` the player will not enter stealth mode even if the crouch key and the "duck" key are the same.

{% code title="config.lua" %}

```lua
CrouchOverride = false,
```

{% endcode %}

***

| Keybind/Command | Action            |
| --------------- | ----------------- |
| LEFT CONTROL    | Toggles crouching |
| /crouch         | Toggles crouching |

***
