Sum Elements
sum · v1Sums collection elements. Outputs a Number.
Ports and connections
The default configuration is shown below. Types and capacity can change in node properties; configure the node before connecting ports.
| Port / ID | Type | Connection |
|---|---|---|
Collectioncollection | array | Source collection. Select the matching Array or List type in node properties.Required |
Outputout | number | The number result of Sum Elements, available to other nodes on every sample.Output |
An output can feed multiple inputs of the same type. An input has one source; Function also requires matching signatures. All connection rules →
Parameters
There are no fixed numeric parameters. Custom nodes, collections and C++ expose additional settings through their definition in the inspector.
Node properties
These settings are configured before compilation and cannot be modulated by wires.
- Value type
- Array or List · default Array
The Collection input accepts the selected type; collection outputs use the same type.
How to use it
[1, 2, 3] → 6. Array or List → Collection.
Things to check
An empty collection returns 0.
Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →