---
title: sceneAnchor
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/uihostingornament/sceneanchor
---

# sceneAnchor

The anchor point for aligning the ornament’s content (based on the contentAlignment) with the scene.

## Declaration

```swift
var sceneAnchor: UnitPoint { get set }
```

## See Also

### Setting the alignment

- [contentAlignment](swiftui/uihostingornament/contentalignment.md)
