<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARKitSession/Events-swift.struct/Iterator/next()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit0A7SessionC6EventsV8IteratorV4nextAC5EventOSgyYaF"
  },
  "title" : "next()"
}
-->

# next()

Returns the next element in a sequence.

```
mutating func next() async -> ARKitSession.Events.Element?
```

## Return Value

Returns an [`ARKitSession.Events.Element`](/documentation/ARKit/ARKitSession/Events-swift.struct/Element), or `nil` if there are no more elements.

---

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)