This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


represents an object that displays with the value of u being continually increased from 0 to 1 with time.
makes u vary from to .
makes u vary in steps du.
makes the value of u increase at a rate of ups units per second.
  • The default duration is five seconds.
  • Animator[Dynamic[s], ...] makes the value of s be continually reset with time.
  • Animator[u, {umin, Infinity}] will run forever, with u increasing by 1 every second.
  • The following options can be given:
AnimationDirectionForwardthe direction of the animation
AnimationRunningTruewhether the animation is running
AnimationRateAutomaticthe rate at which to take variables to vary
AnimationRepetitionsInfinityhow many times to run before stopping
AppearanceAutomaticthe overall appearance of the animator
AppearanceElementsAutomaticelements to include in the displayed animator
Exclusions{}specific u values to exclude
DefaultDuration5.the default duration in seconds
DisplayAllStepsFalsewhether to force all discrete steps to be displayed
EnabledAutomaticwhether the animator is enabled, or grayed out
ImageMargins0margins around the image of the displayed animator
ImageSizeAutomaticthe overall image size of the displayed animator
  • The following elements are included in a default animator: , , , . These elements can be specified in any order in a list given as the setting for AppearanceElements.
  • Additional possible elements include: , , , .
An animator set at 0.8 in the default range 0 to 1:
An animator with its value updated dynamically:
An animator with integer values in the range 0 to 100:
An animator set at 0.8 in the default range 0 to 1:
Click for copyable input
An animator with its value updated dynamically:
Click for copyable input
An animator with integer values in the range 0 to 100:
Click for copyable input
Include different appearance elements:
Specify an initial value:
Specify a range:
Specify a range with discrete jump:
Specify a range with refresh rate:
Control the direction of the slider:
Control the rate of the slider:
Control the number of slider repetitions:
By default Animator starts with a moving slider:
By setting AnimationRunning, the slider remains stationary:
Different sizes:
By default Animator consists of a slider and a set of buttons:
By setting AppearanceElements, specify which controls are displayed:
See all the controls together:
Construct a customized Animator:
Change the background colors:
Change the background color dynamically:
Align with the surrounding text:
Control the time duration of the slider:
The duration is equivalent to 1/rate:
Use DisplayAllSteps to force every intermediate step to be performed:
By default Animator is enabled:
By setting Enabled->False, the animator is disabled but visible in its current state:
Exclude values from the range:
Use predefined sizes:
Control the refresh rate of the slider:
Animate a plotting process:
Animate any process:
The Animator control is driven by a real-time clock; pausing affects display only, not state:
New in 6