---
title: "init(width:height:motionVectorSize:useMultiPassSearch:label:)"
framework: Video Toolbox
role: symbol
role_heading: Initializer
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, tvOS 26.0+, visionOS 26.0+]
path: "videotoolbox/vtmotionestimationsession/init(width:height:motionvectorsize:usemultipasssearch:label:)"
---

# init(width:height:motionVectorSize:useMultiPassSearch:label:)

## Declaration

```swift
init(width: UInt32, height: UInt32, motionVectorSize: VTMotionEstimationSession.BlockSize = .blockSize16x16, useMultiPassSearch: Bool = false, label: String? = nil) throws
```
