3
$\begingroup$

I have a Manipulate function with two variables. I would like one of them to begin autorunning immediately once the function is evaluated, but the other to remain static until moved.

Does Manipulate have an equivalent to Animate's AnimationRunning->True, which would enable me to allow one of the variables to start being animated without having to convert the entire function into an Animate, which would affect the way the panel is displayed, as well as making both variables begin playing at once?

$\endgroup$
4
$\begingroup$

Keep Manipulate, but use Animator type for one of the sliders and control AppearanceElements to make it look whatever you need:

Manipulate[
 {x, y},
 {x, 0, 1, Animator, AppearanceElements -> "ProgressSlider"},
 {y, 0, 1}]
$\endgroup$
1
  • 1
    $\begingroup$ Fantastic, @Vitaliy. Works like a treat. Thanks! $\endgroup$ – Aron Apr 2 '14 at 0:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.