---
title: "removeAllKeyframes(forParameter:andChannel:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 4.0+]
path: "professional_video_applications/fxkeyframeapi_v3/removeallkeyframes(forparameter:andchannel:)"
---

# removeAllKeyframes(forParameter:andChannel:)

Remove all keyframes from the given parameter’s channel.

## Declaration

```swift
func removeAllKeyframes(forParameter parameterID: Int, andChannel channelIndex: Int) -> (any Error)?
```

## Parameters

- `parameterID`: The ID of the parameter whose keyframes you want to remove.
- `channelIndex`: The index of the channel of the parameter you wish to remove the keyframes from.

## See Also

### Instance Methods

- [add(_:toParameter:andChannel:)](professional_video_applications/fxkeyframeapi_v3/add(_:toparameter:andchannel:).md)
- [channelCount(_:forParameter:)](professional_video_applications/fxkeyframeapi_v3/channelcount(_:forparameter:).md)
- [keyframe(_:atOrAfter:fromParameter:andChannel:)](professional_video_applications/fxkeyframeapi_v3/keyframe(_:atorafter:fromparameter:andchannel:).md)
- [keyframe(_:atOrBefore:fromParameter:andChannel:)](professional_video_applications/fxkeyframeapi_v3/keyframe(_:atorbefore:fromparameter:andchannel:).md)
- [keyframe(_:forParameter:channel:andIndex:)](professional_video_applications/fxkeyframeapi_v3/keyframe(_:forparameter:channel:andindex:).md)
- [keyframeCount(_:forParameter:andChannel:)](professional_video_applications/fxkeyframeapi_v3/keyframecount(_:forparameter:andchannel:).md)
- [parameter(_:channel:hasKeyframe:at:)](professional_video_applications/fxkeyframeapi_v3/parameter(_:channel:haskeyframe:at:).md)
- [removeKeyframe(at:fromParameter:andChannel:)](professional_video_applications/fxkeyframeapi_v3/removekeyframe(at:fromparameter:andchannel:).md)
- [setKeyframeIndex(_:with:forParameter:andChannel:)](professional_video_applications/fxkeyframeapi_v3/setkeyframeindex(_:with:forparameter:andchannel:).md)
