---
title: OrnamentAttachmentAnchor
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/ornamentattachmentanchor
---

# OrnamentAttachmentAnchor

An attachment anchor for an ornament.

## Declaration

```swift
struct OrnamentAttachmentAnchor
```

## Topics

### Getting an anchor

- [scene(_:)](swiftui/ornamentattachmentanchor/scene(_:).md)

### Type Methods

- [parent(_:)](swiftui/ornamentattachmentanchor/parent(_:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Creating an ornament

- [ornament(visibility:attachmentAnchor:contentAlignment:ornament:)](swiftui/view/ornament(visibility:attachmentanchor:contentalignment:ornament:).md)
