> For the complete documentation index, see [llms.txt](https://ferdowsur.gitbook.io/modular-3d-text/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ferdowsur.gitbook.io/modular-3d-text/ui/slider/script-documentation/decreasevalue.md).

# DecreaseValue

Method in Slider.cs

## *<mark style="color:yellow;">DecreaseValue (int amount)</mark>*

*Decreasesslider's current value by the amount passed as a parameter.*

## *<mark style="color:yellow;">DecreaseValue (float amount)</mark>*

*Decreases the slider's current value by the amount passed as a parameter.*

## *<mark style="color:yellow;">DecreaseValue ()</mark>*

*Can be called in Update() type settings to decrease the slider's current value according to deltaTime and keyStep.*
