<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/TabletopInteraction/HoverAlignmentBehavior/align(_:with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit0A11InteractionC22HoverAlignmentBehaviorO5alignyAeC0dE6SourceO_AC16CollisionTargetsVtcAEmF"
  },
  "title" : "TabletopInteraction.HoverAlignmentBehavior.align(_:with:)"
}
-->

# 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 align(TabletopInteraction.HoverAlignmentSource, with: TabletopInteraction.CollisionTargets)
```

---

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)