Files
Basalt/docs/objects/Scrollbar/setBackgroundSymbol.md
2023-04-30 19:36:39 +02:00

27 lines
409 B
Markdown

## setBackgroundSymbol
### Description
Changes the symbol in the background, default is "\127"
### Parameters
1. `string` symbol
### Return
1. `object` The object in use
### Usage
* Creates a new scrollbar and changes the background symbol to X
```lua
local main = basalt.createFrame()
local scrollbar = main:addScrollbar():setBackgroundSymbol("X")
```
```xml
<scrollbar backgroundSymbol="X" />
```