Files
Basalt/docs/objects/Scrollbar/setBackgroundSymbol.md
2022-08-30 20:49:25 +02:00

393 B

setBackgroundSymbol

Changes the symbol in the background, default is "\127"

Parameters:

  1. string symbol

Returns:

  1. object The object in use

Usage:

  • Creates a new scrollbar and changes the background symbol to X
local main = basalt.createFrame()
local scrollbar = main:addScrollbar():setBackgroundSymbol("X")
<scrollbar backgroundSymbol="X" />