---
title: AnchoringComponent.Target.Alignment
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/anchoringcomponent/target-swift.enum/alignment
---

# AnchoringComponent.Target.Alignment

Defines the alignment of real-world surfaces to seek as targets.

## Declaration

```swift
struct Alignment
```

## Topics

### Choosing an alignment

- [horizontal](realitykit/anchoringcomponent/target-swift.enum/alignment/horizontal.md)
- [vertical](realitykit/anchoringcomponent/target-swift.enum/alignment/vertical.md)
- [any](realitykit/anchoringcomponent/target-swift.enum/alignment/any.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Surface anchor characterization

- [AnchoringComponent.Target.Classification](realitykit/anchoringcomponent/target-swift.enum/classification.md)
