Configuring a Pushbutton Animation for a Boolean Value
- Last UpdatedJul 13, 2023
- 2 minute read
You can configure an element with a pushbutton to change a Boolean value.
To configure an element with a pushbutton animation to change a Boolean value
-
Select the element.
-
On the Special menu, click Edit Animations. The Edit Animations dialog box appears.
-
Click the Add icon and select Pushbutton. The pushbutton animation is added to the Animation list and the Pushbutton state selection panel appears.
-
Click the Boolean button. The Boolean Pushbutton configuration panel appears.
-
In the Boolean box, type a Boolean equipment.item reference or browse for one by using the browse button.
-
In the Action list, select:
-
Direct so the value becomes true when the element is clicked and the mouse button held. The value returns to false when the mouse button is released.
-
Reverse so the value becomes false when the element is clicked and the mouse button held. The value returns to true when the mouse button is released.
-
Toggle so the value becomes true if it is false and false if it is true when the element is clicked.
-
Set so the value is set to true when the element is clicked.
-
Reset so the value is set to false when the element is clicked.
-
-
If you select Toggle,Set or Reset as action, you can configure the action to be performed when the mouse button is released instead of pressed down. To do this, select On button release.
-
If you select Direct, Reverse, Reset or Set as action, you can configure the value to be written:
-
Continuously by selecting Continuously while button is pressed. Also specify the frequency the value is to be sent, by typing a value in the Delay between value send box.
-
One time by clearing Continuously while button is pressed.
-
-
Specify that the pushbutton action is executed by pressing a key or key combination. In the Shortcut area. Select a shortcut key in the Key list. Select CTRL and/or SHIFT to combine the shortcut key with the Ctrl key and/or Shift key.
-
Preview the pushbutton run-time behavior by clicking Button in the Preview area.
-
Click OK.