<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/TabletopInteraction/IndirectRotationAlignmentBehavior",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit0A11InteractionC33IndirectRotationAlignmentBehaviorO"
  },
  "title" : "TabletopInteraction.IndirectRotationAlignmentBehavior"
}
-->

# TabletopInteraction.IndirectRotationAlignmentBehavior

An object that represents how the equipment’s orientation should be automatically aligned
during the course of the interaction.

```
enum IndirectRotationAlignmentBehavior
```

## Topics

### Alignment behaviors

[`case alignToInputDevice`](/documentation/TabletopKit/TabletopInteraction/IndirectRotationAlignmentBehavior/alignToInputDevice)

Align the equipment so its Z axis points towards the input devices and lays on the horizontal plane.

[`case alignToInputDeviceAndAutoFlip`](/documentation/TabletopKit/TabletopInteraction/IndirectRotationAlignmentBehavior/alignToInputDeviceAndAutoFlip)

Same as `alignToInputDevice` and also detect when the input device rotates enough to generate
a flip of the equipment. When a flip is detected, the equipment will stay horizontal showing its
back face.

[`case automatic`](/documentation/TabletopKit/TabletopInteraction/IndirectRotationAlignmentBehavior/automatic)

Automatically pick an alignment strategy based on the equipment size.

[`case disabled`](/documentation/TabletopKit/TabletopInteraction/IndirectRotationAlignmentBehavior/disabled)

Use this value to disable the behavior.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)