---
title: group
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/modelsortgroupcomponent/group
---

# group

The group that the component’s entity belongs to.

## Declaration

```swift
var group: ModelSortGroup { get set }
```

## Discussion

Discussion The renderer only draws entities with the same ModelSortGroup relative to each other. note: Membership only applies to the entity that directly owns this component, but not to its descendants.
