<!--
{
  "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/BlendShapeWeightsSet/subscript(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Subscript",
  "symbol" : {
    "kind" : "Instance Subscript",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation20BlendShapeWeightsSetVyAA0cdE4DataVSgSScip::OverloadGroup"
  },
  "title" : "subscript(_:)"
}
-->

# subscript(_:)

Accessor for reading a blend shape weights data in the set.

```
subscript(blendShapeName: String) -> BlendShapeWeightsSet.Element? { get }
```

## Parameters

`blendShapeName`

The name of the blend shape to be returned.

## Return Value

Blend shape weights data associated with the given name owned by this set, or nil if not found.

---

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)