| GUI.GetSliderValue | Part of GUI module |
| Syntax | GUI.GetSliderValue (widgetID : int) : int
|
| Description | Returns the current value of a slider or scroll bar specified by widgetID. The widgetID must specify either scroll bar or a slider (horizontal or vertical).
|
| Example | See the ScrollPic program in GUI.CreateHorizontalScrollBarFull for an example of GUI.GetSliderValue.
|
| Status | Exported qualified. This means that you can only call the function by calling GUI.GetSliderValue, not by calling GetSliderValue.
|
| See also | GUI.SetSliderValue for setting a slider or scroll bar's value. See also GUI.CreateHorizontalScrollBar, GUI.CreateVerticalScrollBar, GUI.CreateHorizontalSlider, and GUI.CreateVerticalSlider.
|