---
title: orientToPath
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/orbitanimation/orienttopath
---

# orientToPath

A Boolean value that indicates whether the orbiting object updates its orientation during the animation to orient itself along the rotation path.

## Declaration

```swift
var orientToPath: Bool { get set }
```

## Discussion

Discussion The default value of this property is false.

## See Also

### Configuring the animation

- [startTransform](realitykit/orbitanimation/starttransform.md)
- [axis](realitykit/orbitanimation/axis.md)
- [name](realitykit/orbitanimation/name.md)
- [bindTarget](realitykit/orbitanimation/bindtarget.md)
- [blendLayer](realitykit/orbitanimation/blendlayer.md)
- [rotationCount](realitykit/orbitanimation/rotationcount.md)
- [spinClockwise](realitykit/orbitanimation/spinclockwise.md)
- [additive](realitykit/orbitanimation/additive.md)
