# And

This function block performs a logical AND operation on two boolean inputs. It is commonly used to determine if both conditions are true.

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

`Boolean` This socket accepts the first boolean input for the AND operation.

`Boolean` This socket accepts the second boolean input for the AND operation.

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

`Boolean` This output produces the result of the logical AND operation, which will be true only if both inputs are true.

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

This function block does not have specific controls as it operates directly on boolean inputs via the sockets.

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

`Logical AND Operation` The block computes the logical AND operation, outputting true if both inputs are true.

## 📝 Usage Instructions <a href="#usage" id="usage"></a>

1. **Connect Inputs**: Connect two boolean sources to the input sockets of the block.
2. **Evaluate Operation**: Once the two inputs are connected, the output will automatically reflect the result of the AND operation based on the input states.

## 📊 Evaluation <a href="#evaluation" id="evaluation"></a>

When evaluated, this block outputs true only when both input boolean values are also true; otherwise, it outputs false.

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

<details>

<summary>Combining with Other Logical Operations</summary>

Combine this block with other logical blocks like `Or` or `Not` for more complex logic evaluations. For example, you can use `Or` to check if at least one condition is true along with `And` for when both are needed.

</details>

<details>

<summary>Sequential Logic Checking</summary>

You can create sequences of logical operations. For example, use multiple `And` blocks in sequence to ensure all conditions are checked at once.

</details>

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

<details>

<summary>Unexpected Output</summary>

Ensure that both inputs are indeed boolean values (true or false). Non-boolean data types will affect the output.

</details>

<details>

<summary>Logic Not Working</summary>

If the block is not producing the expected results, double-check the input conditions leading to the block to confirm they are operating as intended.

</details>
