BackgroundColor||doc136472

September 20, 2022

Format

Image.BackgroundColor

Describe

The color of the picture background.

Code Example

image.png

-- create layout window
local APIRootWindow = UI:CreateGUIWindow("API")

--Set the window to the root node of the UI
APIRootWindow.Parent = UI.Root

--Get the Image control for testing according to the name
local image = APIRootWindow.APIImage

--Set the background color of the picture control to blue
image.BackgroundColor = Color3.Blue