443 B
443 B
setBackground
Changes the object background color, if you set the value to false the background wont be visible. For example you could see trough a frame.
Parameters:
number|colorBackground color
Returns:
objectThe object in use
Usage:
- Creates a frame, and sets its background color to
colors.gray
local mainFrame = basalt.createFrame():setBackground(colors.gray)
<button bg="gray" />