---
title: WKSelectionGranularity.dynamic
framework: webkit
role: symbol
role_heading: Case
path: webkit/wkselectiongranularity/dynamic
---

# WKSelectionGranularity.dynamic

Granularity that varies automatically depending on the selection.

## Declaration

```swift
case dynamic
```

## Discussion

Discussion When the selection is within a single block, the granularity may be single character. When the selection is not confined to a single block, the granularity may be a single block.

## See Also

### Getting the Granularity Options

- [WKSelectionGranularity.character](webkit/wkselectiongranularity/character.md)
