Slider component » Minimum, maximum, and current value

Minimum, maximum, and current value

A slider’s default minimum value (min) is 0, and the max is 1.

The position of the knob will set its current value property (also 0 by default); when the knob is in the middle, this will be 0.5.

The min value will always be the left side of the slider (or top when it’s a vertical slider), but it’s entirely possible to give min a higher value than max. To flip them around, in other words, which is often a more straightforward solution than rotating the slider.

Keep in mind that max must be higher than 0, but you can give it at a very low value, like, e.g., 0.001.