<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/ContoursObservation/topLevelContours",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision19ContoursObservationV08topLevelB0SayAC7ContourVGvp"
  },
  "title" : "topLevelContours"
}
-->

# topLevelContours

An array of contours that don’t have another contour enclosing them.

```
var topLevelContours: [ContoursObservation.Contour] { get }
```

## Discussion

This array constitutes the top of the contour hierarchy. You can iterate over each Contour instance to determine its children.

---

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)