Keyframe

2025/12/27

Type
Learning Resource
Format
Glossary Article
Version
General
Subject Tags
Code
Assets
All else
Copyright 2016-2026, GDQuest
Created
2026/02/16
Updated
2025/12/27

Keyframe

In computer animation, a keyframe represents a value we want to reach at a certain point in time for a given property.

In Godot, keyframes are part of an animation track, which controls the value of a given property over the length of the animation. They are represented by a little diamond icon in the Animation editor.

In this image, you can see some keyframes as part of an animation track. They animate the position property of a Sprite2D node.

Keyframes in the Animation editor

When playing an animation, the computer reads keyframes before and after the current playback time and interpolates between them: the computer calculates intermediate values between the two keyframes to produce a smooth animation.

Become an Indie Gamedev with GDQuest!

Don't stop here. Step-by-step tutorials are fun but they only take you so far.

Try one of our proven study programs to become an independent Gamedev truly capable of realizing the games you’ve always wanted to make.

Nathan

Founder and teacher at GDQuest
  • Starter Kit
  • Learn Gamedev from Zero
Check out GDSchool

You're welcome in our little community

Get help from peers and pros on GDQuest's Discord server!

20,000 membersJoin Server

Contribute to GDQuest's Free Library

There are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!