Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:SetChildIndex: Difference between revisions

From Resonite Wiki
create Set Child Index ProtoFlux Node Page
 
Add note that this node changes the OrderOffset of slots
Line 15: Line 15:


Sets the offset of the provided Instance ([[Slot|Slot]]) in the inspector compared to others that have the same immediate parent to Index ([[Types:Int|Int]]).
Sets the offset of the provided Instance ([[Slot|Slot]]) in the inspector compared to others that have the same immediate parent to Index ([[Types:Int|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 ==
== Inputs ==

Revision as of 09:06, 11 February 2024

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

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

Examples