---
url: /process-functions/script-variableget.md
description: Returns the value of a model variable.
---

# script.variableGet

Returns the value of a model variable.

```js
script.variableGet(key)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `key` | `string` | The variable's name. |

## Returns

The variable's value.

## Examples

```js
const value = script.variableGet("Current Month");
```

## Related

* [script.variableSet](/process-functions/script-variableset)
* [script.variableDelete](/process-functions/script-variabledelete)
