Cocos Creator has a built-in general animation system to realize animation based on key frames.
Animation Clips are assets that contain animation information. Animation Clips can be reused, and their state is saved in an object called an Animation State. Animation State can play, pause, stop, and change the animation.
The Animation Component manages Animation Clips and their states in a unified manner, allowing users to implement animation functions at the component level.
In the editor, one can easily produce animation clip assets. For example, through the Animation Editor, or using external assets already containing Animation Clip assets.
The Animation Components documentation describes how to use Animation Components and Animation Clips to control the playback of animations.
The Animation Clip documentation describes the composition of Animation Clips_ or creating _Animation Clips programmatically.
The Animation State provides a low-level control of animation playback.
The Skeletal Animation documentation describes how to use this common but special type of animation.