Switch between off and on (0 and 1)
bang | Switches toggle on if it is off; switches it off if it is on. | |
int | input [int] |
The number is sent out the outlet. If the number is not 0, toggle displays an X, showing it is on. If it is , toggle is blank, showing it is off. |
float | input [float] |
Converted to | .
(mouse) | A mouse click on toggle switches the object on if it is off/off if it is on. | |
set | set-input [int] |
Switches the toggle on or off without sending anything out the outlet. The word , followed by any non-zero number, sets toggle to on; sets it to off. |
Name | Type | g/s | Description |
---|---|---|---|
bgcolor | float | Sets the background color for the object in RGBA format. | |
bordercolor | float | Sets the border color of the object in RGBA format. | |
checkedcolor | float | Sets the "X" color for the object in RGBA format. |
Name | Description |
---|---|
Color | Choosing the Color... menu item from the Object menu when the object is selected opens a color picker, permitting adjustment to the appearance of the toggle object. |
Name | Description |
---|---|
led | Display on/off status in color |
matrixctrl | Matrix switch control |
pictctrl | Picture-based control |
radiogroup | Radio button/check box user interface object |
togedge | Report zero/non-zero transitions |
Max Basic Tutorial 4: Metro and Toggle | Max Basic Tutorial 4: Metro and Toggle |