<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ObjectCaptureSession/startCapturing()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:19_RealityKit_SwiftUI20ObjectCaptureSessionC14startCapturingyyF"
  },
  "title" : "startCapturing()"
}
-->

# startCapturing()

Begins taking images for object capture.

```
@MainActor func startCapturing()
```

## Discussion

This call moves the session state from `.ready` or `.detecting` into `.capturing`.
In object-centric scanning, this function is called after the user chooses the object selection bounding box and
wishes to start the capture process. This call then moves the session state from `.detecting` into `.capturing`.
In freeform scanning where the user skips the bounding box selection, this call moves the session state from
`.ready` directly into `.capturing`.

---

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)