Trigger

Trigger[Dynamic[u]]

represents a trigger that can be pressed to make the dynamically updated value of u be continually increased with time from 0 to 1.

Trigger[Dynamic[u],{umin,umax}]

makes u vary from umin to umax when triggered.

Trigger[Dynamic[u],{umin,umax,du}]

makes u vary in steps du when triggered.

Trigger[Dynamic[u],{umin,umax},ups]

makes the value of u increase at a rate of ups units per second when triggered.

Details and Options

Examples

Basic Examples  (1)

Dynamically trigger a variable update:

In[1]:=
Click for copyable input
Out[1]=

See Also

Animator  Manipulator  Setter  Button  EmitSound  Manipulate

Tutorials

Introduced in 2007
(6.0)