Add

This function block allows you to perform addition on multiple numerical inputs. It automatically adjusts its number of input sockets based on user selection.

πŸ“₯ Inputs

Input size A dropdown menu that lets you select how many numerical inputs will be used for the addition. You can choose between 2 and 20.

Number The actual numerical inputs that will be summed together. The number of these input sockets adjusts according to your selection in the dropdown.

πŸ“€ Outputs

Number The result of the addition operation, providing the sum of all connected input values.

πŸ•ΉοΈ Controls

Input Size A dropdown control that allows you to select the number of inputs for this block. Adjusting this will change the number of input sockets available.

🎨 Features

Dynamic Input Handling The block automatically adjusts the number of input sockets based on user selection, allowing for flexible use.

Simple Addition Computes the total of all numerical inputs provided to it.

πŸ“ Usage Instructions

  1. Select Input Size: Use the Input size dropdown to choose how many numbers you want to add together, from 2 to 20.

  2. Provide Numbers: Enter numbers into the available input sockets that appear based on your selection.

  3. Evaluate: When you evaluate the block, it sums the numbers from all connected input sockets and outputs the result.

πŸ“Š Evaluation

Upon running this block, it will compute the sum of all connected input numbers and return the total as output.

πŸ’‘ Tips and Tricks

Limit Number of Inputs

If you frequently need to add the same number of inputs, set that number as your default in the dropdown by selecting it before doing further adjustments.

Combining with Other Math Operations

You can combine this block with other operations like Subtract, Multiply, or Divide to perform more complex calculations by chaining them together.

Debugging Output

If you're not getting the expected output, use the Debug Input function block before this to ensure the numbers you're feeding into this block are correct.

πŸ› οΈ Troubleshooting

No Output

Ensure that all connected input sockets are receiving valid numerical data. If any socket is unconnected, it will affect the final output.

Input Size Not Updating

If the input sockets don’t seem to change when you modify the input size, ensure that the dropdown selection has been changed properly, and try re-evaluating the block.

Last updated