# Slider

*The toggle is a part of the* [*3D UI System for Unity*](https://assetstore.unity.com/packages/3d/gui/modular-3d-text-in-game-3d-ui-system-247241?aid=1011ljxWe\&utm_source=aff) *that is used to create sliders and progressbar.*

{% content-ref url="slider/script-documentation" %}
[script-documentation](https://ferdowsur.gitbook.io/modular-3d-text/ui/slider/script-documentation)
{% endcontent-ref %}

##

## *<mark style="color:yellow;">Inspector</mark>*

***Note**: You can hover your mouse and check tooltips for information.*<img src="https://1119473059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfrUtWCLmsoDLuNCqpm%2Fuploads%2FB4LUq4w4shpjxdlIYtEg%2Fimage.png?alt=media&#x26;token=62553d91-5599-4dd5-9058-a1ddcbf5c264" alt="" data-size="line">

![](https://1119473059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfrUtWCLmsoDLuNCqpm%2Fuploads%2FFrz875EvTrHGcGzkznS1%2Fimage.png?alt=media\&token=71ffd69f-ddee-4603-89a2-d0e0bfdc1d2d)

### *<mark style="color:orange;">Visual</mark>*

![](https://1119473059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfrUtWCLmsoDLuNCqpm%2Fuploads%2FB8O8akYLa6HApiCtZTDO%2Fimage.png?alt=media\&token=8a8c1665-70a9-4cda-8544-4790604489a2)

### *<mark style="color:orange;">Events</mark>*

![](https://1119473059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfrUtWCLmsoDLuNCqpm%2Fuploads%2FGb8TIXvEFYYNwZNwuxlk%2Fimage.png?alt=media\&token=b519afd3-badc-4a9f-94eb-87ad367445a6)

### *<mark style="color:orange;">Value Range Events</mark>*

*When the slider value falls within the range that spans from the min value to the max value, events are triggered.* \
*The calculation considers both the min and max values.* \
*These values can be both a percentage number or a specific current value of the slider.*

*It evaluates value from top to bottom. The first range that matches the value is called, even if there are other ranges that also match.*

### *<mark style="color:orange;">Input</mark>*

*By default, the input isn't added to the slider. If you click the button, it adds all the appropriate scripts with the correct settings automatically.*

![](https://1119473059-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfrUtWCLmsoDLuNCqpm%2Fuploads%2FFPa2HkAN6Q8xro5QfTmy%2Fimage.png?alt=media\&token=70d8f7bf-ec0b-4946-b58b-76c2090a02fa)
