> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vorp-core.com/llms.txt
> Use this file to discover all available pages before exploring further.

# metabolism

> metabolism api for vorp

<Note>Client side</Note>

Types are `Metabolism` `Thirst` `Hunger` Minimum value is `0` Maximum value is `1000`

Change metabolism value

```lua theme={null}
 TriggerEvent('vorpmetabolism:changeValue', 'Metabolism', 9000)
```

Set metabolism value

```lua theme={null}
 TriggerEvent('vorpmetabolism:setValue', 'Metabolism', 10000)
```

Get metabolism value

```lua theme={null}
 TriggerEvent('vorpmetabolism:getValue', 'Metabolism', function(value)
    print('metabolism value', value)
 end)
```

Set Hud Visibility

```lua theme={null}
 TriggerEvent('vorpmetabolism:setHudVisibility', true)
```
