Skip to main content

Checkbox

This node renders a checkbox input.

The Checkbox node allows users to toggle a boolean state.

The Checkbox node displays a standard checkbox with an optional label. It outputs its current state (true or false) and a signal when it changes.

Inputs​

General​

DataDescription
CheckedThe current state (true/false). Setting this input programmatically updates the checkbox.
LabelText to display next to the checkbox.

Actions​

SignalDescription
CheckSets the state to true.
UncheckSets the state to false.
ToggleFlips the current state.

Outputs​

States​

DataDescription
CheckedBoolean. The current state of the checkbox.

Events​

SignalDescription
ChangedTriggered whenever the user toggles the checkbox or it is updated programmatically.

Usage​

Terms of Service​

  1. Add a Checkbox.
  2. Set Label to "I agree to terms".
  3. Connect Checked output to the Enabled input of a "Submit" button.

Settings​

  1. Add a Checkbox for "Dark Mode".
  2. Connect Changed to a Set Variable node to store the preference.

Detailed Behavior​

  • Two-Way Binding: You can read the Checked output and write to the Checked input.
  • Visuals: Custom styling for the box, checkmark, and label is available in the properties panel.

Troubleshooting​

  • Not Updating: If you force a value into the Checked input continuously (e.g., from a constant), the user might not be able to toggle it. Use a Variable node to store the state if you need read/write access.