Files
Basalt/docs/objects/Scrollbar.md
Robert Jelic 51f6ebe7ce docs updates
2022-09-06 17:43:03 +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