InDesign2026
API 21.5.1.73
Collection of AnimationBehavior

AnimationBehaviors

A collection of animation behaviors.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

→ AnimationBehavior

Creates a new AnimationBehavior.

withProperties? Object Initial values for properties of the new AnimationBehavior
→ Number

Displays the number of elements in the AnimationBehavior.

→ AnimationBehavior[]

Returns every AnimationBehavior in the collection.

→ AnimationBehavior

Returns the first AnimationBehavior in the collection.

→ AnimationBehavior

Returns the AnimationBehavior with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
→ AnimationBehavior

Returns the AnimationBehavior with the specified name.

name String The name.
→ AnimationBehavior[]

Returns the AnimationBehaviors within the specified range.

from AnimationBehavior | LongInteger | String The AnimationBehavior, index, or name at the beginning of the range. Can accept: AnimationBehavior, Long Integer or String.
to AnimationBehavior | LongInteger | String The AnimationBehavior, index, or name at the end of the range. Can accept: AnimationBehavior, Long Integer or String.
→ AnimationBehavior

Returns the last AnimationBehavior in the collection.

→ AnimationBehavior

Returns the middle AnimationBehavior in the collection.

→ AnimationBehavior

Returns the AnimationBehavior whose index follows the specified AnimationBehavior in the collection.

obj AnimationBehavior The AnimationBehavior whose index comes before the desired AnimationBehavior.
→ AnimationBehavior

Returns the AnimationBehavior with the index previous to the specified index.

obj AnimationBehavior The index of the AnimationBehavior that follows the desired AnimationBehavior.
→ String

Generates a string which, if executed, will return the AnimationBehavior.

Object of 1

Properties elsewhere that hold a AnimationBehaviors.