2.155 .frame

Currently displayed single frame of a GIF animation.

Definition

  • Data type

    integer

  • Access

    get, set

  • changed event

    yes

This attribute provides the currently displayed frame for GIF animations.

For a paused animation, it can also be used to simply set the displayed frame. Values ​​between 1 .. <.framecount> are permitted. .

Meaning

The first frame of a GIF animation has the value 1. If no animation is set, or if it does not consist of multiple frames, the value 0 is returned. This also applies to SVG animations, as these do not consist of explicit frames.

Dependencies

This attribute is not stored persistently and is reset when an animation is loaded, or continuously updated while a GIF animation is playing.

See also

Object dmw_moviebutton