---
title: regionOfInterest
framework: dockkit
role: symbol
role_heading: Instance Property
path: dockkit/dockaccessory/regionofinterest
---

# regionOfInterest

The area in the video frame in which the dock accessory tracks a subject.

## Declaration

```swift
final var regionOfInterest: CGRect { get }
```

## See Also

### Performing animation

- [animate(motion:)](dockkit/dockaccessory/animate(motion:).md)
- [setRegionOfInterest(_:)](dockkit/dockaccessory/setregionofinterest(_:).md)
- [DockAccessory.Animation](dockkit/dockaccessory/animation.md)
