ProtoFlux:Get Child: Difference between revisions

From Resonite Wiki
add getchild
 
m fix headings
Line 21: Line 21:
The slot you want to find the child of.
The slot you want to find the child of.


=== ChildIndex ==
=== ChildIndex ===


The index of the children you want.
The index of the children you want.

Revision as of 12:09, 17 January 2024

GetChild
Instance
*
ChildIndex
Slots

Returns the children of a slot from its index.

Inputs

Instance

The slot you want to find the child of.

ChildIndex

The index of the children you want.

Starts at 0.

Outputs

*

The slot found by the node from the index. If no slot is found, it will return null.

Examples

Simple flux example of GetChild on an empty object having three children.