({{, (RefLink[AnimationDirection, paclet:ref/AnimationDirection])
is an option which specifies the direction to run an animation. }})

OpenersNotesSection(Spacer1)Details

(RefLink[AnimationDirection, paclet:ref/AnimationDirection]) is an option for (RefLink[Animate, paclet:ref/Animate]), (RefLink[ListAnimate, paclet:ref/ListAnimate]), (RefLink[Animator, paclet:ref/Animator]) and (RefLink[Cell, paclet:ref/Cell]).

Possible settings are:

When used as an option to the first cell in a sequence of selected cells, (RefLink[AnimationDirection, paclet:ref/AnimationDirection]) specifies the direction in which to run animations involving those cells.

(RefLink[AnimationDirection, paclet:ref/AnimationDirection])->(RefLink[Forward, paclet:ref/Forward]) specifies that the animation should run through successive selected graphics cells in the order that they appear in the notebook, and should then start again at the first cell.

(RefLink[AnimationDirection, paclet:ref/AnimationDirection])->(RefLink[Backward, paclet:ref/Backward]) specifies that the reverse order should be used.

(RefLink[AnimationDirection, paclet:ref/AnimationDirection])->(RefLink[ForwardBackward, paclet:ref/ForwardBackward]) specifies that the animation should run from the first cell to the last, and should then reverse back to the first cell again.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Specify the direction of animation for (RefLink[Animator, paclet:ref/Animator]):

Table[Animator[0,AnimationDirection->a,AnimationRunning->False],{a,{Forward,Backward,ForwardBackward}}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[AnimationRate, paclet:ref/AnimationRate])  ▪  (RefLink[AnimationRunning, paclet:ref/AnimationRunning])  ▪  (RefLink[AnimationRepetitions, paclet:ref/AnimationRepetitions])  ▪  (RefLink[AppearanceElements, paclet:ref/AppearanceElements])}})}})