# `GSShapeGroup.shapes`

*Instance Property*

The direct members of the group.

## Declaration

```swift
var shapes: [GSShape] { get set }
```

```objc
@property (strong) NSArray<GSShape *> * shapes;
```

```python
shapes() -> list[GSShape]
setShapes_(shapes: list[GSShape])
```

## Discussion

Use [`GSShapeGroup enumerateMembersWithBlock:`](/Core/GlyphsCore/GSShapeGroup/enumerateMembersWithBlock:) to process all members, including nested shapes.

Shapes are externally immutable. Use [`GSLayer createShapeGroupFromShapes:`](/Core/GlyphsCore/GSLayer/createShapeGroupFromShapes:) to create a group with shapes.

