---
title: objectBounds()
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 3.1+]
path: professional_video_applications/fxonscreencontrolapi_v2/objectbounds()
---

# objectBounds()

Returns the bounds of the object that the on-screen control applies to.

## Declaration

```swift
func objectBounds() -> NSRect
```

## Return Value

Return Value The rectangle of the on-screen control.

## See Also

### Canvas Information

- [canvasZoom()](professional_video_applications/fxonscreencontrolapi_v2/canvaszoom().md)
- [canvasPixelAspectRatio()](professional_video_applications/fxonscreencontrolapi_v2/canvaspixelaspectratio().md)
- [pixelAspectRatio()](professional_video_applications/fxonscreencontrolapi_v2/pixelaspectratio().md)
- [objectToScreenTransform()](professional_video_applications/fxonscreencontrolapi_v2/objecttoscreentransform().md)
