> For the complete documentation index, see [llms.txt](https://docs.augelab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.augelab.com/function-blocks/blocks-reference/input-output/data-inputs/logic-input.md).

# Logic Input

This function block provides a simple manual boolean control you can use to trigger or gate other blocks in your scenario. Use it when you need a human-controlled TRUE/FALSE signal inside the flow.

## 📥 Inputs <a href="#inputs" id="inputs"></a>

This function block has no input sockets.

## 📤 Outputs <a href="#outputs" id="outputs"></a>

`Boolean` Output socket This outputs the current TRUE/FALSE value selected by the control.

## 🕹️ Controls <a href="#controls" id="controls"></a>

`Switch` A two-position toggle labeled TRUE / FALSE. Flip it to set the output boolean value.

## 🎯 Features <a href="#features" id="features"></a>

* Simple manual boolean generator for controlling logic flow.
* Lightweight and immediate: changes propagate to connected blocks when toggled.
* Useful for testing or manual overrides during setup and debugging.

## 📝 How to use <a href="#usage" id="usage"></a>

* Place the `Logic Input` block in your scenario where you need a manual TRUE/FALSE signal.
* Flip the `Switch` to TRUE to send an active signal, or to FALSE to send an inactive signal.
* Connect the output to downstream blocks that accept a boolean/check input to control actions, triggers or gating behaviour.

## 📊 Behaviour when running <a href="#evaluation" id="evaluation"></a>

When the scenario runs, the block continually outputs the current state of the `Switch` as a boolean value. Changing the switch updates the output immediately.

## 💡 Tips and Tricks <a href="#tips-and-tricks" id="tips-and-tricks"></a>

* Combine the `Logic Input` output with logic blocks like `And`, `Or`, or `Not` to build more complex conditions.
* Use `Rising Edge` or `Edge Rising` if you need a single trigger when the switch changes from FALSE to TRUE.
* Use `ON Delay` or `OFF Delay` to add timed debounce or hold behaviour to the boolean signal.
* Send the boolean to `Led Output` or `Record Video` (as a record trigger) to manually control visual indicators or recordings.
* For passing the boolean value across separate parts of a scenario, use `Tag To` / `Tag From` or `Data Write Local` / `Data Read Local`.

## 🛠️ Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

* If downstream blocks do not respond, check that they accept a boolean/check input and that connections are valid.
* If you need a one-shot trigger but get repeated activations, use `Rising Edge` to convert the steady TRUE into a single pulse.
