RiftTextfield:GetSelection

Returns the current bounds of the selected text.

Usage:

begin, end = RiftTextfield:GetSelection()
ParameterTypeDatatypeDescription
beginresultnumberThe beginning of the selected text, in the same format GetCursor uses. nil if there is no text selected.
endresultnumberThe end of the selected text, in the same format GetCursor uses. nil if there is no text selected.