> For the complete documentation index, see [llms.txt](https://romaincousin.gitbook.io/keystone/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://romaincousin.gitbook.io/keystone/features/stretch.md).

# Stretch

{% hint style="info" %}
The **%** unit corresponds to the current duration of the animations before applying the stretch.

Examples:

* **50%** reduces the duration of the animation by two
* **200%** extends the duration of the animation by two
* **100%** does not change the animation
  {% endhint %}

## Stretch from the first keyframe

<table data-header-hidden><thead><tr><th width="191.28582282242604" align="center">Original keys</th><th width="185.18358367873387" align="center">Layer mode</th><th width="182.48260799429144" align="center">Property mode</th><th width="187.2262509177393" align="center">Global mode</th></tr></thead><tbody><tr><td align="center">Original keyframes</td><td align="center"><p>Layer mode</p><p><strong><code>click</code></strong></p></td><td align="center"><p>Property mode</p><p><strong><code>ALT (⌥)</code></strong>+<strong><code>click</code></strong></p></td><td align="center"><p>Global mode</p><p><strong><code>SHIFT</code></strong> + <strong><code>click</code></strong></p></td></tr><tr><td align="center"><img src="/files/v6C3Fa6mePYPciEV3mQq" alt=""></td><td align="center"><img src="/files/Mpi1Y0gqu8aFgeLfYhLP" alt=""></td><td align="center"><img src="/files/pei5sQyvcaGtUD0Afh32" alt=""></td><td align="center"><img src="/files/jvwRaeMGfPrAy1hZyy8l" alt=""></td></tr></tbody></table>

## Stretch from the last keyframe

<table data-header-hidden><thead><tr><th width="187.9295016111162" align="center">Original keys</th><th width="189.0174378768608" align="center">Layer mode</th><th width="183.444296369543" align="center">Property mode</th><th width="187.106397081347" align="center">Global mode</th></tr></thead><tbody><tr><td align="center">Original keyframes</td><td align="center"><p>Layer mode</p><p><strong><code>click</code></strong></p></td><td align="center"><p>Property mode</p><p><strong><code>ALT (⌥)</code></strong>+<strong><code>click</code></strong></p></td><td align="center"><p>Global mode</p><p><strong><code>SHIFT</code></strong> + <strong><code>click</code></strong></p></td></tr><tr><td align="center"><img src="/files/6pG4wYI6qOxrNaCwUVVc" alt=""></td><td align="center"><img src="/files/oWxtUSSlU8a1tFyc1ByV" alt=""></td><td align="center"><img src="/files/VBBu5GMLY0QGRHjrY5q3" alt=""></td><td align="center"><img src="/files/S1EG3jgfsmrUdgzv149m" alt=""></td></tr></tbody></table>
