Control:SelectAll
Selects all text.
Syntax
Signature
Control:SelectAll() -> ()Aliases
This function has no aliases.
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
() | None. |
Notes
Sets Anchor to zero and Cursor to the byte length of Text. This selects all text without changing keyboard focus.
Example
Luau
local Box = Drawing.create("TextBox", {Text = "Hello"})
Box:SelectAll()