# SliderInt

> Constructors for the SliderInt.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## SliderInt()

Constructors for the [SliderInt](/engine/6000.5/script-reference/unityengine/uielements/sliderint.md).

```csharp
public SliderInt()
```

## SliderInt(int, int, SliderDirection, float)

Constructors for the [SliderInt](/engine/6000.5/script-reference/unityengine/uielements/sliderint.md).

```csharp
public SliderInt(int start, int end, SliderDirection direction = SliderDirection.Horizontal, float pageSize = 0)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): This is the low value of the slider.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): This is the high value of the slider.**** (\[SliderDirection]\(/engine/6000.5/script-reference/unityengine/uielements/sliderdirection)): This is the slider direction, horizontal or vertical.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): This is the number of values to change when the slider is clicked.

## SliderInt(string, int, int, SliderDirection, float)

Constructors for the [SliderInt](/engine/6000.5/script-reference/unityengine/uielements/sliderint.md).

```csharp
public SliderInt(string label, int start = 0, int end = 10, SliderDirection direction = SliderDirection.Horizontal, float pageSize = 0)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): This is the low value of the slider.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): This is the high value of the slider.**** (\[SliderDirection]\(/engine/6000.5/script-reference/unityengine/uielements/sliderdirection)): This is the slider direction, horizontal or vertical.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): This is the number of values to change when the slider is clicked.
