---
title: selectionRect
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibandselectioninteraction/selectionrect-2us5d
---

# selectionRect

The selection rectangle for an in-progress interaction.

## Declaration

```swift
@MainActor @preconcurrency var selectionRect: CGRect? { get }
```

## Discussion

Discussion The rectangle is in the coordinate system of the view that owns the interaction object. If no interaction is active, the value of this propety is nil.
