# Keyframing Camera

Different from animated cameras, keyframing cameras allow users to manually add key frames in the sequencer and preview camera motion without making animations in DCC softwares.

To keyframe a camera, you can follow the next steps.

1. Create a new blueprint from class **EKeyframedCamera**. You can view the [KeyframedCamera ](https://sulleyyys-organization.gitbook.io/manuals-of-ccs/camera-components/miscellaneous/keyframed-camera)page to see how this class works.

<figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FmdOIPROybvcP7InZjBtW%2Fimage.png?alt=media&#x26;token=30604d19-f776-40bd-ab72-c1b04894870a" alt=""><figcaption></figcaption></figure>

2. Add an Actor Sequence Component in the Components section.

<figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FPOkEDVUlbztJorr4HZEi%2Fkeyframe-component.png?alt=media&#x26;token=9221d3ec-823a-4ec3-8ce1-c34ae4540a4c" alt=""><figcaption></figcaption></figure>

3. Find the "Keyframe Extension" in CameraSettingsComponent. This is the core component where this camera invokes keyframes. But you do not need to do anything here. For a more detailed introduction to this extension, go to the [KeyframeExtension ](https://sulleyyys-organization.gitbook.io/manuals-of-ccs/camera-components/extension-components/keyframeextension)page, and refer to the [CallKeyframedCamera](https://sulleyyys-organization.gitbook.io/manuals-of-ccs/blueprint-nodes-list/ecameralibrary#callkeyframedcamera) node for how to call the keyframed camera.

<figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2F6TbJ5L7jqPbrxqRrScwc%2Fkeyframe.png?alt=media&#x26;token=0d18d058-64f5-44ee-b920-8bad5bd6230a" alt=""><figcaption></figcaption></figure>

Note that the parameters in the "PCMGParams" group are currently deprecated. They will be updated once the new feature, procedurally camera motion generation (PCMG), is finished.

4. Select the Actor Sequence Component and click "Open In Tab" in the Details panel, you will see the Sequencer editor is opened and now you can add keyframes in it.

<figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FdgzCJQQNagpPdnVjPtoO%2Fopen-in-tab.png?alt=media&#x26;token=908a5fc8-63d8-4510-a3d1-bce475ab2c44" alt=""><figcaption></figcaption></figure>

5. In the Sequencer editor, add a track of CameraComponent, and then add sub-tracks of camera properties that you would like to keyframe. Generally, you should add the Transform track and FOV track.

   <figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2F85yH91wNEb2TCye1WLT2%2Fkeyframe.png?alt=media&#x26;token=43286363-d825-4edd-9059-001f7680167e" alt=""><figcaption></figcaption></figure>

6. Set the "Default" values in the "CameraBase" section in the blueprint Details panel. These values determine how this camera blends back to the previous camera when it finishes playing.

   <figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FSuzCwuav1uU3c1b5I71w%2Fblendback.png?alt=media&#x26;token=6c330c55-8a8f-43a4-8761-efb07edd80ae" alt=""><figcaption></figcaption></figure>

7. Go to where you want to use this camera and use the [CallKeyframedCamera ](https://sulleyyys-organization.gitbook.io/manuals-of-ccs/blueprint-nodes-list/ecameralibrary#callkeyframedcamera)node.&#x20;

<figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2F3drHnAp1bvScjRE2kh0B%2Fcall.png?alt=media&#x26;token=04013204-5868-4f3e-a188-b23095bf36d8" alt="" width="428"><figcaption></figcaption></figure>

8. Now, play the game and enjoy your work!

<figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FWYuFDAqp09n2D6XoY41i%2Fkeyframe_gif-ezgif.com-resize.gif?alt=media&#x26;token=3b56f9d3-9cb6-47f9-bac3-aa8a54bc0bd3" alt=""><figcaption></figcaption></figure>
