Skip to content
Tristan Hume edited this page Apr 23, 2012 · 3 revisions

#GUI.GetSliderValue

##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.html for setting a slider or.html scroll bar's value. See also GUI.CreateHorizontalScrollBar, GUI.CreateVerticalScrollBar, gui_createhorizontalslider.html, and gui_createverticalslider.html.

Clone this wiki locally