led
Examples

Arguments
None.
Attributes
bgcolor [4 floats]
Sets the background color of the led object in RGBA format.
blinktime [int] (default: 150)
Specifies the duration (in milliseconds) that the led object will flash when it is clicked upon or receives a message.
offcolor [4 floats]
Sets the inactive LED color in RGBA format.
oncolor [4 floats]
Sets the active LED color in RGBA format.
parameter_enable [int]
Enables use of this object with Max for Live Parameters and allows for setting initial parameter values in the Max environment.
parameter_mappable [int] (default: 1)
When parameter_mappable is enabled, the object will be available for mapping to keyboard or MIDI input using the Mappings feature.
style [symbol] (default: )7.0.0
Sets the style to be applied to the object. Styles can be set using the Format palette.
thickness [float] (default: 95.)7.0.0
Sets the size of the LED in proportion to the size of the object.
useoffcolor [int] (default: 1)7.0.0
When set to 1, the inactive LED color is used, as defined by the offcolor attribute.
Common Box Attributes
Parameter Attributes
Messages
bang
int
Arguments
float
Arguments
(mouse)
pict
Arguments
set
Arguments
toggle
Output
See Also
Name | Description |
---|---|
button | |
pictctrl | |
togedge | |
toggle |