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

# weightSet

The runtime named blend shapes weights.

```
var weightSet: BlendShapeWeightsSet { get set }
```

## Discussion

Initialize the `weightSet` variable using the [`init()`](/documentation/RealityKit/BlendShapeWeightsSet/init()) function.

The `weightSet` variable has the following limitations as to how it can be set:

- If `weightSet` is assigned to a new [`BlendShapeWeightsSet`](/documentation/RealityKit/BlendShapeWeightsSet), then
  the new set have the same number of weights and weight names as the
  current variable.
  Additionally, make sure the weight names exactly match
  the current set’s weight names.
- Weight name changes are ignored.
- Setting an incorrect number of weight values are ignored.
- Blend shape name changes are ignored.

---

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)