<!--
{
  "availability" : [
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VisionKit",
  "identifier" : "/documentation/VisionKit/ImageAnalysisOverlayView/preferredInteractionTypes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "VisionKit"
    ],
    "preciseIdentifier" : "s:9VisionKit24ImageAnalysisOverlayViewC25preferredInteractionTypesAC0hI0Vvp"
  },
  "title" : "preferredInteractionTypes"
}
-->

# preferredInteractionTypes

The types of interactions that people can perform with the image in this overlay view.

```
@MainActor final var preferredInteractionTypes: ImageAnalysisOverlayView.InteractionTypes { get set }
```

## Discussion

You need to set this property to enable the Live Text interface with the image. If
this property contains [`automatic`](/documentation/VisionKit/ImageAnalysisOverlayView/InteractionTypes/automatic),
the overlay view ignores the other interaction types in the set. The default value
for this property is an empty array that disables any interactions.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)