# `GSBaseObject setPositionFast:grid:`

*Instance Method*

Sets the unrounded position and rounds the position to a grid without registering undo or notifying the parent.

## Declaration

```swift
func setPositionFast(_ position: NSPoint, grid: GSGridSettings)
```

```objc
- (void) setPositionFast:(NSPoint) position grid:(GSGridSettings) grid;
```

```python
setPositionFast_grid_(position: NSPoint, grid: GSGridSettings)
```

## Parameters

- `grid` — The grid settings used to round the position.

## Discussion

Use this method when managing undo and change notifications separately.

## See Also

### Position

- [`GSBaseObject.position`](/Core/GlyphsCore/GSBaseObject/position) — The position in layer coordinates.
- [`GSBaseObject positionForLayerWidth:`](/Core/GlyphsCore/GSBaseObject/positionForLayerWidth:) — The position in layer coordinates for a layer width.
- [`GSBaseObject setPosition:forLayerWidth:`](/Core/GlyphsCore/GSBaseObject/setPosition:forLayerWidth:) — Sets the position in layer coordinates for a layer width.
- [`GSBaseObject positionFast`](/Core/GlyphsCore/GSBaseObject/positionFast) — The position without orientation adjustment.
- [`GSBaseObject setPositionFast:`](/Core/GlyphsCore/GSBaseObject/setPositionFast:) — Sets the position without registering undo or notifying the parent.
- [`GSBaseObject.positionPrecise`](/Core/GlyphsCore/GSBaseObject/positionPrecise) — The unrounded position in layer coordinates.
- [`GSBaseObject positionPreciseForLayerWidth:`](/Core/GlyphsCore/GSBaseObject/positionPreciseForLayerWidth:) — The unrounded position in layer coordinates for a layer width.
- [`GSBaseObject positionPreciseFast`](/Core/GlyphsCore/GSBaseObject/positionPreciseFast) — The unrounded position without orientation adjustment.
- [`GSBaseObject roundToGrid:`](/Core/GlyphsCore/GSBaseObject/roundToGrid:) — Rounds the position to a grid.
- [`GSBaseObject roundToGridFast:`](/Core/GlyphsCore/GSBaseObject/roundToGridFast:) — Rounds the position to a grid without registering undo or notifying the parent.
- [`GSBaseObject.orientation`](/Core/GlyphsCore/GSBaseObject/orientation) — The orientation of the element position.

