<!--
{
  "availability" : [
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ar_plane_anchor_get_alignment",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:@F@ar_plane_anchor_get_alignment"
  },
  "title" : "ar_plane_anchor_get_alignment"
}
-->

# ar_plane_anchor_get_alignment

Gets the alignment — horizontal or vertical — of a plane anchor relative to gravity.

```
extern ar_plane_alignment_t ar_plane_anchor_get_alignment(ar_plane_anchor_t plane_anchor);
```

---

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)