Create the slider using the given range as the set of possible values/steps.
Value range of the slider.
Handle of the slider.
Index/current position of the slider.
Position of the first step hitbox on the X axis.
Distance between each step
Length of the range.