NormalTextColor||doc136501

September 20, 2022

Format

Button.NormalTextColor

Describe

This attribute determines the text color of the button in its original state.

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 Button control for testing according to the name
local button = APIRootWindow.APIButton

--Set the normal state text color of the button control
button.NormalTextColor = Color3.White