Returns the current bounds of the selected text.
| begin, end = RiftTextfield:GetSelection() | |||
| Parameter | Type | Datatype | Description |
|---|---|---|---|
| begin | result | number | The beginning of the selected text, in the same format GetCursor uses. nil if there is no text selected. |
| end | result | number | The end of the selected text, in the same format GetCursor uses. nil if there is no text selected. |