Beta Documentation - Subject to change.

Sets the selected text.

Syntax

Lua
function Label:SetSelection(start, length);

Parameters

start
Type: number
The starting position to select.
length
Type: number
The length of text to select.

Remarks

Sets the selected text.

See Also