NodesData
Variable Array Modify
Slot Usage: 0
| Parent Node |
|---|
| Variable Array Create |
Overview
Variable Array Modify performs structural and value updates on an existing array variable.
Operation behavior changes based on selected operation and array element type.
Input
Variable Source
string requiredReference to Variable Array Create.
Type Reference (Internal)
stringRead-only element type metadata used to render correct value fields.
Operation
string requiredArray operation to run:
add: append new element or merge behavior for overwrite/add schemas.update: update element at index.remove: remove element at index.pop: remove last element.overwrite: replace whole array value.clear: clear array to empty.
Index
integerRequired for operations that target a specific position (update, remove).
Element Value Fields (Type-Conditional)
Field names vary by element type and operation mode, for example:
varString,varNumber,varInteger,varBool,varObject,varImage,varZoneLabels,varRectObject- or array variants (
varArrayString,varArrayNumber, etc.) for overwrite-style operations.
String-capable fields support Template Expressions.
For number and integer updates, assignment modes can apply arithmetic transforms relative to existing element value:
SET,ADD,SUBTRACT,MULTIPLY,DIVIDE
Division by zero is protected at runtime and keeps current value with warning.
Output
outValue
arrayUpdated array after applying selected operation.