# `GSLayer addShapeFast:`

*Instance Method*

Adds a shape at the top of the layer without undo registration or KVO notifications.

## Declaration

```swift
func addShapeFast(_ shape: GSShape)
```

```objc
- (void) addShapeFast:(GSShape *) shape;
```

```python
addShapeFast_(shape: GSShape)
```

## Discussion

The shape receives this layer as its parent. if the layer has groups, call [`GSLayer reconfigureShapeGroupsSkippingPreconditionCheck:`](/Core/GlyphsCore/GSLayer/reconfigureShapeGroupsSkippingPreconditionCheck:)

## See Also

### Adding Shapes

- [`GSLayer insertObject:inShapesAtIndex:`](/Core/GlyphsCore/GSLayer/insertObject:inShapesAtIndex:) — Inserts a shape at the given linear shape index.
- [`GSLayer addShape:`](/Core/GlyphsCore/GSLayer/addShape:) — Adds a shape at the top of the layer.
- [`GSLayer addShapes:`](/Core/GlyphsCore/GSLayer/addShapes:) — Adds shapes at the top of the layer.
- [`GSLayer addShapesFast:`](/Core/GlyphsCore/GSLayer/addShapesFast:) — Adds shapes at the top of the layer without undo registration or KVO notifications.

