---
title: alignment
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/sensoryfeedback/alignment
---

# alignment

Indicates the alignment of a dragged item.

## Declaration

```swift
static let alignment: SensoryFeedback
```

## Discussion

Discussion For example, use this pattern in a drawing app when the user drags a shape into alignment with another shape. Only plays feedback on iOS and macOS.

## See Also

### Indicating changes and selections

- [decrease](swiftui/sensoryfeedback/decrease.md)
- [increase](swiftui/sensoryfeedback/increase.md)
- [levelChange](swiftui/sensoryfeedback/levelchange.md)
- [selection](swiftui/sensoryfeedback/selection.md)
- [pathComplete](swiftui/sensoryfeedback/pathcomplete.md)
