# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://romaincousin.gitbook.io/keystone/features/stretch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
