UseMasked||doc136520

September 20, 2022

Format

Editbox.UseMasked

Describe

The password mask status of the input box. If it is true, all text characters in the input box will be replaced with *, which is false by default.

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

--According to the name to get the Editobox control for testing
local editbox = APIRootWindow.APIEditbox

--Set the input box control to use the mask
editbox.UseMasked = true