# `GSFont.snapToObjects`

*Instance Property*

A Boolean value that controls whether editing operations snap to nearby objects.

## Declaration

```swift
var snapToObjects: Bool { get set }
```

```objc
@property (nonatomic, assign) BOOL snapToObjects;
```

[See also `snapToObjects` in the Python API](https://docu.glyphsapp.com/#GSFont.snapToObjects)

```python
pyobjc_instanceMethods.snapToObjects() -> bool
pyobjc_instanceMethods.setSnapToObjects_(snapToObjects: bool)
```

## See Also

### Editing Settings

- [`GSFont.keyboardIncrement`](/Core/GlyphsCore/GSFont/keyboardIncrement) — Small keyboard movement step in font units.
- [`GSFont.keyboardIncrementBig`](/Core/GlyphsCore/GSFont/keyboardIncrementBig) — Larger keyboard movement step in font units.
- [`GSFont.keyboardIncrementHuge`](/Core/GlyphsCore/GSFont/keyboardIncrementHuge) — Largest keyboard movement step in font units.
- [`GSFont.previewRemoveOverlap`](/Core/GlyphsCore/GSFont/previewRemoveOverlap) — A Boolean value that controls whether preview drawing removes overlaps.
- [`GSFont.displayStrings`](/Core/GlyphsCore/GSFont/displayStrings) — Text strings stored for edit tabs.

