ui.Slider.setValue

Stay organized with collections Save and categorize content based on your preferences.

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.