animation

Syntax

animation → boolean
animation(Activate:boolean) → boolean

The function animation activates or deactivates MU and Icon Animation during a simulation run.

Calling the function without parameter returns the current state of the animation.

Calling the function with parameter sets the state of the animation, activated (true) or deactivated (false).

Parameter

The parameter of data type boolean activates (true) or deactivates (false) MU and Icon Animation and icon animation.

Return Value

The return value has the data type boolean.

The function animation returns true if MU and Icon Animation is activated.

Example

animation -- returns if animation is on or off
animation(true) -- turns the animation on

Related Topic

MU and Icon Animation