ProtoFlux:SetAt
From Resonite Wiki
More actions
SetAt
Collections
The SetAt node takes in a Collection, an element, and the index or position of the list, then attempts to set that element value in that list.
Inputs
* (Call)
Calls an impulse to set or replace an element value within the referenced collection.
Element (Generic)
The element we want to set or replace within the referenced collection.
Index (Int)
The position in the list where we want to set the element value to.
Collection (IList)
The collection to set the new element to.
Outputs
OnSet (Continuation)
Fires when successfully setting the element at the preferred index or position.
OnFail (Continuation)
Fires when unable to set the element in the list or if the index is out of bounds.