Sub Node

This node subtracts the two input values from one-another.

This node is available in all modules.

This is part of the Math nodes, designed to perform mathematical functions and comparisons on values.

Inputs

Input #1 is a number and is the value you want to start with.
Input #2 is also a number and is the value you want to subtract from input #1.

Outputs

Output #1 is a number and is equal to the value of Input 1 minus the value of Input 2.

Options

The bvalue option allows you to set the value of Input 2 when that input isn't connected. It's a faster method than creating a Const Number node.

Notes

When using this node to determine the size of the difference between two numbers, you might want to consider the Abs function, so that you capture the difference in both a positive or negative direction.

See Also