# SnappingOptions

**Kind**: interface | **Module**: [Windows](https://docs.interop.io/desktop/reference/javascript/windows/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/windows/snappingoptions/index.html

Options for snapping a window to another window or a window group.

## Properties

- **`autoAlign`** (`boolean`, optional)
  If `true`, the bounds of the window will be aligned automatically to the neighboring windows
  when snapping it to another window or a window group.
- **`direction`** (`RelativeDirection`, optional)
  Direction for snapping the window relative to the target window.

## Related types

- [RelativeDirection](https://docs.interop.io/desktop/reference/javascript/windows/relativedirection/index.md)
