# `GSLayer dissolveShapeGroup:`

*Instance Method*

Dissolves the given shape group by replacing it with its direct members.

## Declaration

```swift
func dissolveShapeGroup(_ group: GSShapeGroup) -> Bool
```

```objc
- (BOOL) dissolveShapeGroup:(GSShapeGroup *) group;
```

```python
dissolveShapeGroup_(group: GSShapeGroup) -> bool
```

## Return Value

`NO` if the given shape group is not part of the layer.

## See Also

### Moving Shapes in Groups

- [`GSLayer handleShapesFromShapes:`](/Core/GlyphsCore/GSLayer/handleShapesFromShapes:) — Returns `subjects` reordered such that the relative order is the same as in `shapes`, excluding any shapes in `subjects` that are members of a shape group in `subjects`.
- [`GSLayer moveShapes:copyBuffer:intoGroup:childIndex:`](/Core/GlyphsCore/GSLayer/moveShapes:copyBuffer:intoGroup:childIndex:) — Moves or copies the given shapes to a new location in the layer’s shape group tree.
- [`GSLayer createShapeGroupFromShapes:`](/Core/GlyphsCore/GSLayer/createShapeGroupFromShapes:) — Combines the given shapes into a new shape group.

