# `GSShapeGroup.root`

*Instance Property*

Whether the group is the root of the shape tree.

## Declaration

```swift
var isRoot: Bool { get }
```

```objc
@property (nonatomic, readonly, getter=isRoot) BOOL root;
```

```python
isRoot() -> bool
```

## Discussion

> **Complexity**
> O(1)

## See Also

### Identity

- [`GSShapeGroupID.GSShapeGroupIDRoot`](/Core/GlyphsCore/GSShapeGroup/GSShapeGroupID/GSShapeGroupIDRoot) — The group ID reserved for the root group of a layer.
- [`GSShapeGroup.groupId`](/Core/GlyphsCore/GSShapeGroup/groupId) — The per-layer identifier of the group.

