---
title: "Motion Path"
url: "https://help.maxon.net/ag/en-us/Content/html/Motion_path.html"
section_path: "Parameter Management > Transform and Animation > Motion Path"
description: "When adding keyframes to a 2D parameter, Autograph draws a trajectory in the Viewer based on the parameter changes over time. This trajectory is called a …"
---

# Motion Path

When adding keyframes to a 2D parameter, *Autograph* draws a trajectory in the *Viewer* based on the parameter changes over time. This trajectory is called a *Motion Path* and is most often used to visualize the movement of a layer. Although the *Position* parameter isn't the only one concerned, we'll start by adding keys to it to keep things simple.

After adding two keyframes to the *Position* parameter at different times and for different values, a **Motion Path** appears in the *Viewer*:

![Image: motion_path.jpg](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path.jpg)

## Managing Space and Time Separately

When animating a layer, you need to consider two things:

- The later path (trajectory)
- The speed the layer moves along this trajectory

The main purpose of a *Motion Path* is to set the layer trajectory, representing the *spatial evolution* of a *2D parameter*.\
To control layer velocity on this trajectory, there are other tools that are more suitable to use:

- *Timeline/Dopesheet*: for handling keyframes
- *Retime Graph*: for managing the Layer's position on this Motion Path over time
- *Motion Path Tool*: for editing several *Motion Paths* at the same time

Each keyframe in the *Position* parameter of the *Timeline* is spatially represented by one of the *Motion Path* control points.\
If you select a keyframe in the *Timeline*, the corresponding control point will also be selected in the *Viewer*.

![Image: motion_path_keyframes.jpg](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_keyframes.jpg)

These control points are displayed as **yellow squares** when selected.

## Position Motion Path

A *Motion Path* is made up of several dots, each representing the *Anchor Point* position for each interpolated image between the two keyframes.\
If we bring the keyframes closer together, the dot density decreases as the number of frames separating them also decreases.

[Video: motion_path_keyframes_move.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_keyframes_move.mp4)

> **Note:** Dot density is related to the number of frames separating the two keyframes, the **Composition Frame Rate** also affects it. The higher the frame rate, the greater the number of dots.

The only visual indication of the layer speed is the distance between the dots. The further apart they are, the faster the layer moves.

## Moving Motion Path Points

Clicking and dragging one of the *Motion Path* points modifies the layer's trajectory.\
By pressing the `shift` key after starting to move it, you can restrict it to a single axis - either horizontal or vertical.

[Video: motion_path_move_points.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_move_points.mp4)

## Motion Path Tangent Handling

Creating two keyframes on the *Position Parameter* produces a straight *Motion Path* by default. However, clicking on the first point brings up a yellow tangent. Moving this tangent will bend the trajectory.

### Setting Tangent Size

If you click on the last point, you won't see this tangent, as its handle is at the same place as the control point.\
But by pressing the `alt`/`opt` key and clicking and dragging this point, you can draw a new tangent and bend the *Path* on the other side.

[Video: motion_path_keyframes_move_tangents.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_keyframes_move_tangents.mp4)

- A single click on a control point with the `alt`/`opt` key gives tangents a null size
- Another click in this situation assigns a new default size
- This function is also available by right-clicking on a point and selecting *Toggle Tangents*.

![Image: motion_path_keyframes_toggle_tangents.jpg](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_keyframes_toggle_tangents.jpg)

### Intermediate Keyframe Tangents

Move your playhead between the two keyframes to position your layer halfway along the path and move the layer in the *Viewer* to create a new keyframe (and therefore a new control point).\
Again, we can adjust this new point's tangents:

[Video: motion_path_add_keyframes.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_add_keyframes.mp4)

You can also directly add a new point to the path by pressing the `alt`/`opt` key and then clicking on the path.

[Video: motion_path_add_point.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_add_point.mp4)

> **Warning:** This new point added with the `alt`/`opt` key will also automatically create a new keyframe in [Adaptive](https://help.maxon.net/ag/en-us/Content/html/Keyframes.html.md) mode, unlike a new key created by moving the layer, which would not be in *Adaptive* mode.

### Breaking Tangents:

By pressing the `ctrl`/`cmd` key and clicking on tangent handles, you can dissociate them to create an angle.

[Video: motion_path_keyframes_break_tangents.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_keyframes_break_tangents.mp4)

> **Note:** Note that the keyboard shortcuts used to draw and break tangents are the same as those used in [path editing tools](https://help.maxon.net/ag/en-us/Content/html/Creation_and_editing_tools.html.md).

### Orienting a Layer along its Trajectory

To automatically orient a layer in the direction of a trajectory:

- *Right-click* on the layer in the Timeline, then select *Options > Orient Along Trajectory*
- Adjust the layer's *Rotation* value to point in the right direction

[Video: motion_path_orient.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_orient.mp4)

## Moving the entire Motion Path

To move an entire *Motion Path*, you need to select and then move all control points. When using the *2D Transform Tool*, a selection rectangle will select layers, not control points.\
You can quickly select these points by:

- Selecting all parameter keyframes in the *Dope sheet*, which will select all control points
- Clicking on the parameter name, which will select all keyframes

There is also a feature that lets you go even faster. Right-click on any point and select *Select All Keyframes on Path*.

Tip:As this function has a shortcut, you can also select any *Motion Path* control point, press `ctrl`/`cmd` + `l`, then move all the control points.

[Video: motion_path_select_all_keyframes.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_select_all_keyframes.mp4)

> **Note:** This feature allows you to quickly move a *Motion Path* when working on a single layer. To save even more time, the [Motion Path Tool](https://help.maxon.net/ag/en-us/Content/html/Motion_path_tool.html.md) lets you do the same for several layers at the same time.

## Adaptive Keyframes and Motion Paths

When a keyframe is set to [*Adaptive Time*](https://help.maxon.net/ag/en-us/Content/html/Keyframes.html.md), it's drawn on a path in a different way.\
Right-click on the intermediate control point in the *Viewer* or on the corresponding keyframe in the *Timeline* and select *Adaptive Time* (or press the `x` key after selecting it).\
The control point is now drawn as a small circle:

[Video: motion_path_adaptive.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_adaptive.mp4)

## Tangent and Spatial Interpolation Presets

*Autograph* lets you manually manage the control point tangents with the tools mentioned above; but, it also offers presets to define them automatically, based on the position of the adjacent points.\
To access these options, you need to:

- Go to the *Dope Sheet* module
- Show the *Keyframe Properties Dock*

After selecting one or more control points, the *Spatial Interpolation* section contains an *Interpolation* parameter that defines the mode applied to the current selection.

[Video: motion_path_tangent_presets.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_tangent_presets.mp4)

> **Warning:** Make sure not to confuse this with the **Interpolation** parameter in the **Time Interpolation** section just below.

Interpolation presets use three points:

- The current control point
- The previous one on the path
- The next one on the path

### Linear

- The preceding tangent always points to the previous point
- The next tangent always points to the next point

Linear interpolation will therefore always create an angle at the control point.

### Smooth

- Orient tangents horizontally if the current control point is the highest or lowest of the three
- Orient tangents vertically if the current control point is furthest to the left or right
- Between the two limits, the tangents will rotate

### Catmul-Rom

- The tangents are parallel to the line formed by the previous and subsequent points
- Their lengths are proportional to the distance between the two points

The tangents of the adjacent points are not taken into account when calculating the tangents of the current point.

### Cubic

Ensuring tangent continuity with *Smooth Bezier Interpolation* and *C2 Continous Tangents*.

- Tangents are the same size on both sides
- The tangents of the adjacent points are taken into account
- The curve's continuity will be computed automatically without the need to manage tangents

### Broken

Whatever mode you're using, moving a point or modifying a tangent will immediately switch the point's spatial interpolation to *Broken* mode. This term refers to the ability to break tangents (by pressing `ctrl` / `cmd`) and manipulate them without constraint.

> **Warning:** When right-clicking on a control point in the *Viewer* that is not in **Adaptive Time**, an **All Interpolations** section lets you change the **Temporal Interpolation**. Do not confuse this with **Spatial Interpolation** which is only available in the **Keyframe Properties Dock**.

![Image: motion_path_spatial_interpolation.jpg](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_spatial_interpolation.jpg)

## Visualize rollbacks on the Motion Path or its extension

*Elastic* and *Bounce* temporal interpolations move the layer along the *Motion Path* non-linearly.

- *Bounce* causes the layer to bounce off the last key and back along the *Motion Path* several times
- *Elastic*, in addition to going backwards like *Bounce*, extends the *Motion Path* beyond the last key

Using the *Retime Graph* can also produce non-linear movement along the *Motion Path*. In the case of a rollback or extension, the *Motion Path* is drawn much thicker.

[Video: motion_path_bounce_elastic.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_bounce_elastic.mp4)

## Not only for layer position

Although the layer *Position* parameter is the most common case where you would use *Motion Paths*, we pointed out earlier that it can be generated by **any 2D spatial parameter**.

Let's take the example of a *God Rays* *Modifier* applied to an image. After setting its *Scale* parameter to 3.0, its *Position* parameter is used to define the center of the rays. By creating two keyframes on the *Position* parameter, then selecting it in the *Properties* section or in the *Timeline*, a *Motion Path* appears representing the trajectory of this point, whose tangents can be modified to curve it.

[Video: motion_path_modifiers.mp4](https://help.maxon.net/ag/en-us/Content/Resources/Images/chapters/animation/motion_path_modifiers.mp4)

> **Warning:** To display the *Motion Path* of a 2D parameter other than *Layer Position*, you need to select it in the *Timeline* or the *Inspector*.
