Slider widget is great for allowing entry by user using a slide control (horizontal only). You have ability to select min and max values, the step amount, and even have a custom sprite for the slider key. Just add a ui_slider object (horizontal) and size it in your room, it will auto-scale the slide to the widget dimensions in your room.
Here are properties for the slider widget:
uiMax=100;This is the maxValue of your slider. If it is all the way to the right, this is the value of the slider.
uiMin=1; This is the minimum value. If it all the way to the left this is the value of the slider.
uiInterval=5; whether you want to keep the value within a interval. 5 would mean that values are divisible by 5. (5,10,15,20…)
uiValue=50; //integer This is the current value of the slide. You can read/write to this property.
uiLineWidth=5; This is the width of the line of the slider.
uiSelectSize=15; //radius of circle This is the radius of the select circle, if you are not using a custom select sprite.
uiBorderColor=c_navy; //outline of line around slider and selector
uiBackColor = c_navy; //color of main slider line
uiBackColor2 = c_blue; //gradient of main slider line with uiBackColor
uiHiliteColor = c_white; //outline of selector
uiHiliteColor2 = c_teal; //background of selector
uiSlideSprite = -1; //if using a sprite for slider select
uiLineSprite = -1; //if using a sprite for line.
uiUpdateLabel = noone; This is a useful feature, you can have the slider update a ui_label widget to the current value of the slider. Will set the uiTextValue of ui_label to uiValue on change of slider.