UISystem. UIScrollbar

UIScrollbar - A UI object that acts as a scrollbar

Constructor

new UIScrollbar(posopt, sizeopt, valueopt, textopt, coloropt, handleColoropt)

Create a UIScrollbar object

Parameters:
NameTypeAttributesDefaultDescription
posVector2<optional>
sizeVector2<optional>
valuenumber<optional>
0.5
textstring<optional>
colorColor<optional>
uiSystem.defaultButtonColor
handleColorColor<optional>
WHITE

Extends

  • UIObject

Members

handleColor

Properties
TypeDescription
Color

Color for the handle part of the scrollbar

value

Properties
TypeDescription
number

Current percentage value of this scrollbar 0-1