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

409 B

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
local main = basalt.createFrame()
local scrollbar = main:addScrollbar():setBackgroundSymbol("X")
<scrollbar backgroundSymbol="X" />