ProtoFlux:InsertAt
From Resonite Wiki
More actions
InsertAt
Collections
The InsertAt node takes in a Collection, an element, and the index or position of the list, then attempts to insert that element value in that list. When inserting, the element effectively pushes or shifts all elements down from the preferred index onward.
Inputs
* (Call)
Calls an impulse to insert an element value within the referenced collection.
Element (Generic)
The element we want to insert within the referenced collection.
Index (Int)
The position in the list where we want to insert the element value to.
Collection (IList)
The collection to insert the new element to.
Outputs
OnInserted (Continuation)
Fires when successfully inserting the element at the preferred index or position.
OnFail (Continuation)
Fires when unable to insert the element in the list or if the index is out of bounds.