---
title: "subscript(_:)"
framework: realitykit
role: symbol
role_heading: Instance Subscript
path: "realitykit/blendshapeweights/subscript(_:)"
---

# subscript(_:)

Accesses a single weight in the collection at the given index.

## Declaration

```swift
subscript(index: BlendShapeWeights.Index) -> Float { get set }
```

## Overview

Overview For more on accessing elements by index, see subscript(_:).
