---
title: isLogical
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextselection/islogical
---

# isLogical

A Boolean value that indicates whether the framework interprets the selection as logical or visual.

## Declaration

```swift
var isLogical: Bool { get set }
```

## See Also

### Characteristics of a selection

- [affinity](appkit/nstextselection/affinity-swift.property.md)
- [NSTextSelection.Affinity](appkit/nstextselection/affinity-swift.enum.md)
- [anchorPositionOffset](appkit/nstextselection/anchorpositionoffset.md)
- [granularity](appkit/nstextselection/granularity-swift.property.md)
- [NSTextSelection.Granularity](appkit/nstextselection/granularity-swift.enum.md)
- [isTransient](appkit/nstextselection/istransient.md)
- [secondarySelectionLocation](appkit/nstextselection/secondaryselectionlocation.md)
- [NSTextLocation](appkit/nstextlocation.md)
- [textRanges](appkit/nstextselection/textranges.md)
- [typingAttributes](appkit/nstextselection/typingattributes.md)
