<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/AnchorEntity/init(plane:classification:minimumBounds:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation12AnchorEntityC5plane14classification13minimumBoundsAcA18AnchoringComponentV6TargetO9AlignmentV_AJ14ClassificationVs5SIMD2VySfGtcfc"
  },
  "title" : "init(plane:classification:minimumBounds:)"
}
-->

# init(plane:classification:minimumBounds:)

Creates an anchor entity that targets a plane with the given
characteristics.

```
@MainActor @preconcurrency convenience init(plane alignment: AnchoringComponent.Target.Alignment, classification: AnchoringComponent.Target.Classification = .any, minimumBounds: SIMD2<Float> = [0, 0])
```

## Parameters

`alignment`

The alignment of the plane to target, like
[`horizontal`](/documentation/RealityKit/AnchoringComponent/Target-swift.enum/Alignment/horizontal) or
[`vertical`](/documentation/RealityKit/AnchoringComponent/Target-swift.enum/Alignment/vertical).

`classification`

The classification of the target plane to look for,
like [`floor`](/documentation/RealityKit/AnchoringComponent/Target-swift.enum/Classification/floor) or
[`ceiling`](/documentation/RealityKit/AnchoringComponent/Target-swift.enum/Classification/ceiling).

`minimumBounds`

The minimum size of the target plane.

---

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)