Button

Read with AI
All docs in one file (llms-full.txt)
Button #UI #Node
Button

A button that outputs true to Bool Output only while it is held. The pressed state is unified into one inside the node, and whichever of the input port In, the mouse or MIDI drives it, they all rewrite the same state.

  • A bool arriving at In becomes the pressed state directly. The on-screen button also looks as if it were actually pressed, so OSC or MIDI values can be plugged in as they are
  • With a MIDI assignment (button), a value above 0.5 is a press and anything at or below that is a release
  • The output is not an “echo of the input” but the current pressed state. Changes made by hand also come out as they are

The pressed state is not saved in the project. Right after loading it always starts unpressed (false).

Input ports

Port IDType
Inbool

Output ports

Port IDType
Bool Outputbool

Scriptable members

PathType
boolInputbool
pressStatebool

Synapse Apps (scripting)

await synapse.modules.create({ type: "Button" })

Pages linking here