Skip to content

End

The number of stages the animation runs through before it ends or chains.

Specification
Applies to
AnimType
File
art.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
ComputedThe frame count of the shape the type first gets hold of, or zero if it never gets one.

The figure is a count of stages, not the number of a last frame, and the count runs from Start: the frames displayed are Start through Start plus this figure minus one. The stage that reaches the figure itself is never displayed — the animation is removed, or turns into its Next= animation, in the same logic pass that arrives at it.

Only the last pass ends here. While an animation still has passes left to run, LoopEnd ends each of them instead, and this figure decides only where the final one stops.

The count is not bounded by the artwork. An animation that takes a sub-sequence with Start= but leaves this figure to the shape’s own frame count runs from its start frame for the whole length of the shape, past the last frame the shape holds; those frames draw nothing, so the animation finishes with a stretch of empty stages before it disappears.

The figure is also the length the by-stage fade measures itself against, so shortening it moves the points at which a Translucent=yes animation steps to its next level.

An animation type measures itself from its shape the first time it gets hold of one, and this read passes that measurement through, which is why most animations state nothing here. The measurement is taken once: a type whose ID-named shape was found keeps that frame count even if a later Image= points at a different shape, and a type that never finds a shape is left with a count of zero and plays no stages at all.

-1 marks the count unset, and the frame count is taken from the artwork again the next time an animation of the type is created, then stored on the type for good.

See alsoStart, LoopEnd, LoopCount, Next, Rate