---
title: NSHapticFeedbackManager.FeedbackPattern.alignment
framework: appkit
role: symbol
role_heading: Case
path: appkit/nshapticfeedbackmanager/feedbackpattern/alignment
---

# NSHapticFeedbackManager.FeedbackPattern.alignment

A haptic feedback pattern to be used in response to the alignment of an object the user is dragging around. For example, this pattern of feedback could be used in a drawing app when the user drags a shape into alignment with another shape. Other scenarios where this type of feedback could be used might include scaling an object to fit within specific dimensions, positioning an object at a preferred location, or reaching the beginning/minimum or end/maximum of something, such as a track view in an audio/video app.

## Declaration

```swift
case alignment
```

## See Also

### Constants

- [NSHapticFeedbackManager.FeedbackPattern.generic](appkit/nshapticfeedbackmanager/feedbackpattern/generic.md)
- [NSHapticFeedbackManager.FeedbackPattern.levelChange](appkit/nshapticfeedbackmanager/feedbackpattern/levelchange.md)
