Add an item into an existing array or create an array with a single item if no array is connected to the input.
Properties
Insertion Mode
: Choose how to insert the item. Choices are : At the End, At Index, Before ID, After ID
Default : At the End
Trigger Input
: Toggle if you want to use a boolean as an input to trigger the action. If the boolean istrue
the item will be added to the array. If the boolean isFalse
the item will not be added, or will be removed if it was present.
Default : OFF
ID
: Manually set the value of the ID.
Default : empty
You can add properties and values using the button in the bottom left of the Editor
panel.
Property/Value lines can be deleted by selecting them and using the icon.
Inputs
Name | Type | Description |
---|---|---|
Array | Array | Accepts an existing array to add an item to |
ID | String | ID to add according to the chosen Insertion Mode |
Trigger | Boolean | Only appears if Trigger Input is toggled ON. Boolean input to trigger the action of inserting the item in the array |
AtIndex | Integer | Only appears if Insertion Mode is set to At Index. Index where to insert the item |
BeforeID | String | Only appears if Insertion Mode is set to Before ID. ID before which to insert the item |
AfterID | String | Only appears if Insertion Mode is set to After ID. ID after which to insert the item |
Outputs
Name | Type | Description |
---|---|---|
Array | Array | Resulting array with the item inserted |
Need more help with this?
Don’t hesitate to contact us here.