325 B
325 B
getInputLimit
Returns the input limit.
Returns:
numbercharacter limit
Usage:
- Creates a default input and sets the character limit to 8. Prints the current limit.
local mainFrame = basalt.createFrame()
local aInput = mainFrame:addInput():setInputLimit(8)
basalt.debug(aInput:getInputLimit())