---
title: "setTransform(_:at:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avvideocompositionlayerinstruction/configuration/settransform(_:at:)"
---

# setTransform(_:at:)

Sets the transform value at a time within the time range of the instruction.

## Declaration

```swift
mutating func setTransform(_ transform: CGAffineTransform, at time: CMTime)
```

## See Also

### Configuring the transform

- [addTransformRamp(_:)](avfoundation/avvideocompositionlayerinstruction/configuration/addtransformramp(_:).md)
- [transformRamp(at:)](avfoundation/avvideocompositionlayerinstruction/configuration/transformramp(at:).md)
