CreateSlider (Function): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens No edit summary |
>JulienDethurens No edit summary |
||
Line 22: | Line 22: | ||
==See Also== | ==See Also== | ||
*[[RbxGui]] | *[[RbxGui (Library)|RbxGui]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 06:26, 7 February 2012
CreateSlider( number steps, number width, UDim2 position ) | |
Returns | Frame sliderGui, IntValue sliderPosition |
Description: | Returns 2 objects, (sliderGui, sliderPosition). sliderGui is a Frame that contains the entire slider gui. sliderPosition is an IntValue whose current value specifies the specific step the slider is currently on (This value can be modified by a script, and the slider with adjust position). The steps argument specifies how many different positions the slider can hold along the bar. width specifies in pixels how wide the bar should be (modifiable afterwards if desired). position argument should be a UDim2 for slider gui positioning. |