---
title: bodyRect
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextdragpreviewrenderer/bodyrect
---

# bodyRect

The bounding rectangle of the text in the middle of the drag preview.

## Declaration

```swift
var bodyRect: CGRect { get }
```

## Discussion

Discussion The body rectangle contains the full lines of text in the middle of the drag preview that doesn’t include the first line and last line. This property can be a zero rectangle. The initial value is also not calculated until the first time it’s used.

## See Also

### Getting and setting bounding rectangles

- [firstLineRect](uikit/uitextdragpreviewrenderer/firstlinerect.md)
- [lastLineRect](uikit/uitextdragpreviewrenderer/lastlinerect.md)
- [adjust(firstLineRect:bodyRect:lastLineRect:textOrigin:)](uikit/uitextdragpreviewrenderer/adjust(firstlinerect:bodyrect:lastlinerect:textorigin:).md)
