---
title: "cropRectangleRamp(at:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avvideocompositionlayerinstruction/configuration/croprectangleramp(at:)"
---

# cropRectangleRamp(at:)

Obtains the crop rectangle ramp that includes the specified time.

## Declaration

```swift
func cropRectangleRamp(at time: CMTime) -> AVVideoCompositionLayerInstruction.CropRectangleRamp?
```

## See Also

### Configuring the crop rectangle

- [setCropRectangle(_:at:)](avfoundation/avvideocompositionlayerinstruction/configuration/setcroprectangle(_:at:).md)
- [addCropRectangleRamp(_:)](avfoundation/avvideocompositionlayerinstruction/configuration/addcroprectangleramp(_:).md)
