Input.GetSelection

table Input.GetSelection ( 

string ObjectName )

Example 1

selection_point = Input.GetSelection("User Input");

Gets the indexes of the selected text in the "User Input" input object and stores the start and end points in the "selection_point" table. These values can be accessed by referencing selection_point.Start and selection_point.End.

See also:  Related Actions