1# Animation Image (lv_animimg)
2
3## Overview
4
5The animation image is similar to the normal 'Image' object. The only difference is that instead of one source image, you set an array of multiple source images.
6
7You can specify a duration and repeat count.
8
9
10## Parts and Styles
11- `LV_PART_MAIN` A background rectangle that uses the typical background style properties and the image itself using the image style properties.
12
13
14## Usage
15
16### Image sources
17To set the image in a state, use the `lv_animimg_set_src(imgbtn, dsc[], num)`.
18
19
20## Events
21No special events are sent by image objects.
22
23See the events of the Base object too.
24
25Learn more about [Events](/overview/event).
26
27
28## Keys
29No Keys are processed by the object type.
30
31Learn more about [Keys](/overview/indev).
32
33
34## Example
35
36```eval_rst
37
38.. include:: ../../../examples/widgets/animimg/index.rst
39
40```
41
42## API
43
44```eval_rst
45
46.. doxygenfile:: lv_animimg.h
47  :project: lvgl
48
49```
50