# Toggle, momentary and trigger

> Switches and buttons: stay on, on while held, or a short pulse.

Source: https://docs.tune.toys/components/buttons/ (updated 2026-11-01)

**Binds:** one public parameter each.

| Kind        | Behavior                                                                                  |
| ----------- | ----------------------------------------------------------------------------------------- |
| `toggle`    | Switches between an off and an on value. Appearances include switch and checkbox.         |
| `momentary` | On while held, off on release or cancellation (pointer cancel, Escape, window blur).      |
| `trigger`   | A short pulse of 10 to 2000 ms (default 80 ms). Presses during a pulse do not add pulses. |

Endpoints default to the parameter's minimum and maximum, may be authored, and must differ and stay in range. Trigger timing follows the UI clock and is not sample-accurate event scheduling.
