# Multiply

This function block is designed to perform multiplication operations on any number of input values. Users can dynamically adjust the number of inputs associated with this block.

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

`Input size` A dropdown that allows the user to specify how many input values they want to multiply. Options range from 2 to 20 values.

`Number` This represents the actual numerical input values to be multiplied together. The number of these inputs adjusts based on the selection made in the dropdown.

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

`Number` This output provides the result of multiplying all the connected input values together.

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

`Input size` A dropdown menu to select the number of inputs to be used in the multiplication operation. It dynamically updates the number of input sockets based on the selected value.

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

`Dynamic Input Adjustment` Depending on the user's selection, the block will automatically add or remove input sockets accordingly.

`Simple Multiplication` This block executes multiplication for multiple input values seamlessly, providing results in real time.

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

1. **Select Input Size**: Use the `Input size` dropdown to select how many numbers you want to multiply (between 2 and 20).
2. **Connect Inputs**: Connect the numeric values to the input sockets provided.
3. **Evaluate**: The block will automatically calculate and output the product of all connected input values.

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

When evaluated, this function block will return the product of all input numbers. Ensure that all necessary input sockets are connected to receive an accurate output.

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

<details>

<summary>Using in series</summary>

You can concatenate multiple `Multiply` blocks to perform continuous multiplication operations. Ensure outputs from one are properly connected to inputs of the next.

</details>

<details>

<summary>Combining with Add function</summary>

You can combine this block with the `Add` function block to calculate both products and sums as part of a larger mathematical operation.

</details>

<details>

<summary>Batch Processing</summary>

For efficiency, consider using the `Batch Processing` block if you need to process large sets of numbers with this multiplication operation regularly.

</details>

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

<details>

<summary>No Output</summary>

Ensure all input sockets are properly connected and the `Input size` has been set accordingly. If one or more inputs are missing, the evaluation may produce no output.

</details>

<details>

<summary>Incorrect Results</summary>

Verify that all numbers connected to the input sockets are indeed numerical values. Non-numerical inputs can lead to unintended results.

</details>
