<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ModelSortGroupComponent/group",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation23ModelSortGroupComponentV5groupAA0cdE0Vvp"
  },
  "title" : "group"
}
-->

# group

The group that the component’s entity belongs to.

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

## Discussion

The renderer only draws entities with the same [`ModelSortGroup`](/documentation/RealityKit/ModelSortGroup) relative to each other.

> Note: Membership only applies to the entity that directly owns this component,
> but not to its descendants.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)