---
title: "inputWidth(_:height:pixelAspectRatio:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 3.1+]
path: "professional_video_applications/fxonscreencontrolapi_v2/inputwidth(_:height:pixelaspectratio:)"
---

# inputWidth(_:height:pixelAspectRatio:)

Returns the width, height, and pixel aspect ratio of the input to the filter or transition for which the on-screen control is applied.

## Declaration

```swift
func inputWidth(_ inputWidth: UnsafeMutablePointer<Int>!, height inputHeight: UnsafeMutablePointer<Int>!, pixelAspectRatio: UnsafeMutablePointer<Double>!)
```

## Parameters

- `inputWidth`: A pointer to the input width of the object.
- `inputHeight`: A pointer to the input height of the object.
- `pixelAspectRatio`: A pointer to the input pixel aspect ratio of the object.

## See Also

### Input and Output Item Geometry

- [objectWidth(_:height:pixelAspectRatio:)](professional_video_applications/fxonscreencontrolapi_v2/objectwidth(_:height:pixelaspectratio:).md)
- [inputBounds()](professional_video_applications/fxonscreencontrolapi_v2/inputbounds().md)
