Skip to main content
AddInput() creates a text box paired with an action button. AddTextBox() and AddTextbox() are exact aliases of the same builder.

Standard input

Clicking the action button calls Callback(text). Pressing Enter in the text box also submits the current text.

Toggle input

Set InternalInfo.Toggle = true to use the adjacent button as a boolean toggle:
Toggle callbacks receive two arguments: Callback(state, text). The behavior is:

Rich text

The action title and its description tooltip support Roblox rich-text markup by default:
Set RichText = false on the input config or inside Info to opt out.

Configuration

string
default:"\"Submit\" (or \"Toggle\")"
Text displayed on the action half of the control.
string
Tooltip text displayed instantly while hovering the action area. Use \n for line breaks.
boolean
default:"true"
Enables rich-text markup for the action title and description tooltip. Set to false to opt out. Info.RichText is also accepted.
string
default:"\"\""
Initial textbox value.
boolean
default:"false"
Enables two-argument toggle behavior.
string
Stable Quick Commands ID. A random ID is generated when omitted.
boolean
default:"false"
Adds a right-click menu for assigning or removing a keyboard shortcut.
boolean
default:"false"
Adds a persisted startup flag to the context menu. The current input implementation does not execute the input callback automatically from that flag on startup.
string[]
Alternate Quick Commands names. Info.Aliases and InternalInfo.Aliases are also accepted.
function
Standard input: Callback(text). Toggle input: Callback(state, text).

Quick Commands

Standard input concatenates all arguments into the textbox value:
Toggle input supports an optional state prefix:
The explicit forms on, true, 1, off, and false are recognized. Without a state prefix, the supplied arguments replace the textbox text and enable the toggle.

Returned handle

Aliases

These three builders are equivalent: