Files
Basalt/docs/objects/Input.md
2022-06-09 11:43:59 -04:00

484 B

With input's you are able to create a object where the user can type something in.

Here are all possible functions available for inputs:
Remember Input inherits from Object

setInputType

changes the input type

local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aInput = mainFrame:addInput("myFirstInput"):setInputType("password"):show()

Parameters: string value ("text", "password", "number")

Returns: self