Files
Basalt/docs/docs1_6/objects/Scrollbar.md
Robert Jelic d4c72514ef Docs 1.6
Accidentally uploaded outdated 1.6 docs
2023-05-01 16:28:46 +02:00

655 B

Scrollbars are objects, the user can scroll vertically or horizontally, this will change a value, which you can access by :getValue().

Object methods also apply for scrollbars.

setSymbol Sets the slider symbol
setBackgroundSymbol Sets the background symbol
setBarType Sets the bar type (vertical or horizontal)
setMaxValue Sets the maximum value
setIndex Sets the current index
getIndex Returns the index