<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/VTMotionBlurParameters/nextOpticalFlow",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:objc(cs)VTMotionBlurParameters(py)nextOpticalFlow"
  },
  "title" : "nextOpticalFlow"
}
-->

# nextOpticalFlow

Optional optical flow object that contains forward and backward optical flow with the next frame.

```
var nextOpticalFlow: VTFrameProcessorOpticalFlow? { get }
```

## Discussion

For the last frame this will always be nil. This object is only needed if optical flow is pre-computed.

---

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)