> For the complete documentation index, see [llms.txt](https://docs.greenhellmodding.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greenhellmodding.com/client-code-examples/modifying-the-inventory-max-weight.md).

# Modifying the inventory max weight

In order to modify the inventory max weight we can simply change a single value in the `InventoryBackpack` class as shown below.

```csharp
InventoryBackpack.Get().m_MaxWeight = 999;
```
