# Editor.LineEdit.SelectionEnd

```csharp
int SelectionEnd { get; set; }
```

Character at which the text selection ends, or -1 if there is no selection.

Declared in [Editor.LineEdit](/api/Editor.LineEdit).
Assembly: `Sandbox.Tools`.
