A newer version of Max is available. Click here to access the latest version of the Max documentation

toggle Reference

toggle

toggle

Examples

Inlets

value [number, bang]

value

Outlets

output [number]

output

Fixed Attributes

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

order [symbol]

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

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

valin [number]

valin

valout [number]

valout

value [number, bang]

value

See Also

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