# `GSGuide.grid`

*Instance Property*

The distance in font units between tick marks along a line guide.

## Declaration

```swift
var grid: CGFloat { get set }
```

```objc
@property (nonatomic, assign) CGFloat grid;
```

```python
grid() -> float
setGrid_(grid: float)
```

## Discussion

A nonpositive value disables tick marks.

## See Also

### Measurements and Grid

- [`GSGuide.showMeasurement`](/Core/GlyphsCore/GSGuide/showMeasurement) — Whether distances between consecutive outline intersections are displayed.
- [`GSGuide.intersections`](/Core/GlyphsCore/GSGuide/intersections) — The outline intersections calculated for the most recently supplied layer.
- [`GSGuide calculateIntersectionsForLayer:`](/Core/GlyphsCore/GSGuide/calculateIntersectionsForLayer:) — Calculates the intersections between the guide and a layer’s outlines.

