# Editor.TextCursor.HasSelection

```csharp
bool HasSelection { get; set; }
```

Declared in [Editor.TextCursor](/api/Editor.TextCursor).
Assembly: `Sandbox.Tools`.
