---
title: "meshInstances(at:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/lowlevelrenderer/meshinstances(at:)"
---

# meshInstances(at:)

Returns the mesh instance array at the given slot index, or the empty value if the slot is unoccupied.

## Declaration

```swift
final func meshInstances(at index: Int) -> LowLevelMeshInstanceArray?
```

## Parameters

- `index`: The zero-based slot index to retrieve.

## Return Value

Return Value The LowLevelMeshInstanceArray at index, or nil if the slot is unoccupied.

## See Also

### Managing mesh instances

- [setMeshInstances(_:at:)](realitykit/lowlevelrenderer/setmeshinstances(_:at:).md)
- [meshInstancesArrayCount](realitykit/lowlevelrenderer/meshinstancesarraycount.md)
