# Keyframes

[Adding a keyframe](/editor/animating/timeline/keyframes/add-a-keyframe.md) is the core action for animating in Lottielab. A keyframe stores the change you've made to the [properties](/editor/properties.md) of your object/layer at a point in time.&#x20;

You can see the change at a glance using [keyframe thumbnails](/editor/animating/timeline/keyframes/keyframe-thumbnails.md) or by playing back your animation.

The basic logic of a keyframe is as follows:

* If you change the dimensions of a rectangle shape to `20px by 20px` in `Keyframe 1`.
* Then go to another point in time and change the dimensions of the same shape to `40px by 40px` by adding another keyframe (`Keyframe 2`).
* You will have an animation of the rectangle **increasing in size** from `Keyframe 1` to `Keyframe 2`.

{% content-ref url="/pages/Z5haToBj0VB6OxORxZfI" %}
[Add a keyframe](/editor/animating/timeline/keyframes/add-a-keyframe.md)
{% endcontent-ref %}

{% content-ref url="/pages/hUTu1PAA91P3WAzaTxp1" %}
[Keyframe thumbnails](/editor/animating/timeline/keyframes/keyframe-thumbnails.md)
{% endcontent-ref %}


---

# 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://docs.lottielab.com/editor/animating/timeline/keyframes.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.
