---
title: "keyframe(_:forParameter:channel:andIndex:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 4.0+]
path: "professional_video_applications/fxkeyframeapi_v3/keyframe(_:forparameter:channel:andindex:)"
---

# keyframe(_:forParameter:channel:andIndex:)

Returns the keyframe info for the keyframe at a given index.

## Declaration

```swift
func keyframe(_ keyframe: UnsafeMutablePointer<FxKeyframe>, forParameter parameterID: Int, channel channelIndex: Int, andIndex keyframeIndex: Int) -> (any Error)?
```

## Parameters

- `keyframe`: A pointer to an FxKeyframeInfo structure to be filled out with the information about the keyframe in question.
- `parameterID`: The ID of the parameter you want info about.
- `channelIndex`: The index of the channel you want info about.
- `keyframeIndex`: The index of the keyframe you wish to retrieve.

## 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)
- [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)
- [removeAllKeyframes(forParameter:andChannel:)](professional_video_applications/fxkeyframeapi_v3/removeallkeyframes(forparameter:andchannel:).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)
