# GuiInterface.createVerticalSlider

Creates a slider at the specified widget

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
guiInterface:createVerticalSlider( widgetName, range, value, functionName )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/GuiInterface.md#createverticalslider)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `gui` | [GuiInterface](../Game-Script-Environment/Userdata/GuiInterface.md) | The Gui interface |
| `widgetName` | string | The name of the widget |
| `range` | number | The range of the slider |
| `value` | number | The start value on the slider |
| `functionName` | string | Slider change callback function name |
