toggle Reference

toggle

toggle

Examples

Inlets

value [number]

value

Outlets

value [number]

value

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

displayName [symbol]

Display Name

maximum [number] (default: 1)

parameter maximum

minimum [number] (default: 0)

parameter minimum

order [symbol]

Preset restore order (a number, 'first' or 'last').

patching_rect [list] (default: 0,0,0,0)

patching_rect

presentation [number] (default: 0)

presentation

presentation_rect [list] (default: 0,0,0,0)

presentation_rect

preset [bool] (default: false)

Add this value to the preset.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

value [number]

value

See Also

Name Description
toggle Switch between off and on (0/1)
button button
slider slider
number number box