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

# objectWidth(_:height:pixelAspectRatio:)

Returns the width, height, and pixel aspect ratio of the object for which the on-screen control is applied.

## Declaration

```swift
func objectWidth(_ outputWidth: UnsafeMutablePointer<Int>!, height outputHeight: UnsafeMutablePointer<Int>!, pixelAspectRatio: UnsafeMutablePointer<Double>!)
```

## Parameters

- `outputWidth`: A pointer to the width of the object.
- `outputHeight`: A pointer to the height of the object.
- `pixelAspectRatio`: A pointer to the pixel aspect ratio of the object.

## See Also

### Input and Output Item Geometry

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