---
title: distortionWidth
framework: MetalFX
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.1+]
path: metalfx/mtlfxframeinterpolatorbase/distortionwidth
---

# distortionWidth

The width, in pixels, of the content region within the distortion texture to use as input.

## Declaration

```swift
var distortionWidth: Int { get set }
```

## Discussion

Discussion When set to zero (the default), the frame interpolator uses contentWidth instead.
