---
title: orientation
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/geometricpin/orientation
---

# orientation

Calculates and returns the current orientation of the pin relative to the pin’s owning entity, adjusted by the optional offset orientation.

## Declaration

```swift
@MainActor var orientation: simd_quatf? { get }
```

## Discussion

Discussion If the pin is on a skeletal joint but there is no skeletal joint matching the given skeletal joint name, this property returns nil.
