---
title: next()
framework: realitykit
role: symbol
role_heading: Instance Method
path: realitykit/lowlevelmeshinstancearray/iterator/next()
---

# next()

Returns the next mesh instance slot, or nil when all slots have been visited.

## Declaration

```swift
mutating func next() -> LowLevelMeshInstanceArray.Element?
```
