ProtoFlux:Set Child Index

From Resonite Wiki
Revision as of 09:06, 11 February 2024 by Nytra (talk | contribs) (Add note that this node changes the OrderOffset of slots)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Set Child Index
*
Next
Instance
Index
Slots

Sets the offset of the provided Instance (Slot) in the inspector compared to others that have the same immediate parent to Index (Int).

It should be noted that this node will normally update the OrderOffset of all slots adjacent to the Instance slot (i.e. having the same Parent slot as Instance) to ensure that the Instance slot gets the correct child index.

Inputs

* (Call)

Call to set the index of Instance (Slot) to Index (Int).

Instance (Slot)

The slot to set the child index of.

Index (Int)

The child index to set Instance (Slot) to.

Outputs

Next (Continuation)

sends an impulse after * (Call) is called and Instance (Slot) has had it's index set to Index (Int).

Examples