CreatorDocumentation 0.3.2 beta
Documentation sectionsIn this article
CREATOR / Collections

Set Element

set · v1

Returns a copy of a collection with one element replaced. The Success Gate reports whether the operation succeeded.

Set Element
Inputs
Outputs
Select a port to see its purpose and an example connection. Its reference row will highlight.

Ports and connections

The default configuration is shown below. Types and capacity can change in node properties; configure the node before connecting ports.

Port / IDTypeConnection
CollectioncollectionarraySource collection. Select the matching Array or List type in node properties.Required
IndexindexintegerZero-based integer element index. Convert a Number using Number to Integer.Optional
ValuevaluenumberControls Value with a number stream. Without a wire, the manual value is 0.Manual value when disconnected
OutputoutarrayThe array result of Set Element, available to other nodes on every sample.OutputCapacity: 64
SuccesssuccessgateOn when the collection operation succeeds. Check this output before using the result.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

Values describe manual settings. A connected stream replaces a parameter’s manual value; disconnecting restores it.

ParameterRangeDefaultControl
Valuevalue-1000000…10000000Input or manualLinear scale

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], Index = 0, Value = 9 → [9, 2]. Connect the collection to Collection.

Things to check

The source collection is unchanged. An invalid index or exhausted capacity turns Success off; use History to retain changes.

Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →