object.isSecure

Type Boolean
Object TextField
Library native.*
Revision 2017.3060
Keywords native text input

Overview

Controls whether text in the field is obscured. This is useful for passwords. Default is false.

Example

local passwordField = native.newTextField( 100, 50, 40, 30 )
passwordField.inputType = "number"
passwordField.isSecure = true