Switch between off and on (0 and 1)
bang | A bang message will toggle the state of the object. If it is off, it will switch on and output a 1. If it is on, it will switch off and output a 0. | |
int | input [int] |
Switches the live.toggle on (1) or off (0) and send the value to the outlet. |
float | input [float] |
Same as | .
assign | assign-input [float] |
The word live.toggle object's outlet. If the Parameter Visibility attribute is set to Stored Only, the message will not add the new value to the Live application’s undo chain. | , followed by a floating point value, causes that value to be stored and displayed and sent out the
init | Restore and output the initial value. | |
(mouse) | A mouse click on the live.toggle object switches the object on if it is off, or off if it is on. | |
outputvalue | Sends the current value out the outlet. | |
set | set-input [float] |
Switches the live.toggle on or off without causing any output. |
Name | Type | g/s | Description |
---|---|---|---|
active | int def.:1 |
Toggles the object's active mode. When | is set to 0, the mouse action does not cause output and the inactive colors are used.|
activebgcolor | float | Sets the background color displayed for the toggle in the off state when the | attribute is set to 1.|
activebgoncolor | float | Sets the background color displayed for the toggle in the on state when the | attribute is set to 1.|
bgcolor | float | Sets the background color off displayed for the toggle in the off state when the | attribute is set to 0.|
bgoncolor | float | Sets the background color on displayed when the | attribute is set to 0.|
bordercolor | float | Sets the display color for the live.toggle object's border in RGBA format. | |
focusbordercolor | float | Sets the display color for the live.toggle object's border when the object has focus in RGBA format. |
Name | Description |
---|---|
live.button | Flash on any message, send a bang |
live.tab | A user interface tab/multiple button object |
live.text | A user interface button/toggle |
toggle | Switch between off and on (0 and 1) |