A button can change its appearance at runtime, as is usual with visualization elements. In this way, the element can move in a controlled manner, change color, or display different images. You animate this in the element properties. Movement is controlled in the “Absolute movement” and “Relative movement” properties. Color is controlled in the “Color variables” property. Image toggling is controlled in the “Bitmap ID variable” property.
In addition, a button can adopt the states "pressed" and "not pressed" and act like a switch or a push button. A switch toggles between pressed and not pressed. In contrast, a button or a push-button changes only briefly to "pressed" and is then again "not pressed". The “Button state variable” property controls how the states of buttons are seen. The property is coupled with user input by default.
-
Animating the button state