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

# TabletopInteraction.HoverAlignmentBehavior

An object that describes how the controlled equipment should behave when approaching a target.

```
enum HoverAlignmentBehavior
```

## Topics

### Alignment Behaviors

[`case align(TabletopInteraction.HoverAlignmentSource, with: TabletopInteraction.CollisionTargets)`](/documentation/TabletopKit/TabletopInteraction/HoverAlignmentBehavior/align(_:with:))

`align` indicates that the equipment should orient itself to align the closest `source` to the target.
The equipment’s movement is also limited to prevent it from penetrating the target.

[`case automatic(targets: TabletopInteraction.CollisionTargets)`](/documentation/TabletopKit/TabletopInteraction/HoverAlignmentBehavior/automatic(targets:))

`automatic` picks a strategy based on the equipment size.

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

Use this value to disable the behavior.

[`case stop(at: TabletopInteraction.CollisionTargets)`](/documentation/TabletopKit/TabletopInteraction/HoverAlignmentBehavior/stop(at:))

`stop` indicates that the equipment movement should stop when pushed into the target, to avoid penetration.
The orientation of the equipment is not affected.

## Relationships

### Conforms To

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

[`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)