Logic Input

This function block allows users to manually toggle a boolean value using a switch control. It provides a straightforward way to input logical true or false values into the node editor.

📥 Inputs

This function block does not have any inputs.

📤 Outputs

Boolean This output provides the current state of the switch as a boolean value (TRUE or FALSE).

🕹️ Controls

Switch A toggle switch that allows the user to manually set the value. The switch displays "TRUE" when activated and "FALSE" when deactivated.

🎨 Features

Manual Input Users can easily control boolean values without needing to connect external data sources, providing flexibility during testing and scenario simulation.

📝 Usage Instructions

  1. Toggle Switch: Click on the switch to toggle the value between TRUE and FALSE.

  2. Retrieve Value: The current state of the switch can be connected to other function blocks that accept boolean inputs.

📊 Evaluation

When executed, this function block outputs the current state of the switch, allowing other connected blocks to react accordingly based on its TRUE or FALSE value.

💡 Tips and Tricks

Combine with Conditional Blocks

This block can be effectively used in conjunction with functional blocks like And, Or, or even Not to create complex logical flows, enabling more advanced decision-making scenarios.

Debugging

Use this switch to simulate different conditions or states in your workflow, especially when testing other function blocks to observe their responses to changing inputs.

🛠️ Troubleshooting

Switch Not Responding

If the toggle switch is not responding when clicked, ensure that the node is correctly recognized in the workspace and check for any issues with the node editor's interface.

Output Not Updating

If the output value doesn't seem to update, verify that the function block is actively running and connected to other blocks that depend on its output state.

Last updated