---
title: bounds
framework: visionkit
role: symbol
role_heading: Instance Property
path: visionkit/imageanalysisinteraction/subject/bounds
---

# bounds

A rectangle that identifies the extremities of a subject within an image in relation to the interaction view’s bounds.

## Declaration

```swift
@MainActor var bounds: CGRect { get }
```

## Discussion

Discussion This property will always return CGRect.zero if the interaction isn’t added to the view.
