ui.Slider.setValue

Set the value of the slider.

Returns this slider.

UsageReturns
Slider.setValue(value, trigger)ui.Slider
ArgumentTypeDetails
this: ui.sliderui.SliderThe ui.Slider instance.
valueNumberThe value to slider.
triggerBoolean, optionalWhether to trigger onChange callbacks when the value property changes. Defaults to true.