Skip to content

gui.Slider

Syntax

gui.Slider(parent, varname, name, value, min, max, inc) → GuiObject

Parameters

parentstring
A gui object.
varnamestring
Varname of this object.
namestring
Text above the slider.
valuefloat
Float value of the current value.
minfloat
Float value of the lowest value possible.
maxfloat
Float value of the largest value possible.
incfloatoptional
Float value of the increment of movement.

Returns

Returns GuiObject.

Appears in: Slider GUI