ui.Slider.setMax

Sets the maximum value of the slider.

Returns this slider.

UsageReturns
Slider.setMax(value)ui.Slider
ArgumentTypeDetails
this: ui.sliderui.Slider

The ui.Slider instance.

valueNumber

The slider's maximum value.