m needs to be gallery |
m oops |
||
Line 35: | Line 35: | ||
== Examples == | == Examples == | ||
<gallery widths=480px heights 480px> | <gallery widths=480px heights=480px> | ||
File:GetChildExample.png | Simple flux example of GetChild on an empty object having three children. | File:GetChildExample.png | Simple flux example of GetChild on an empty object having three children. | ||
</gallery> | </gallery> | ||
[[Category:ProtoFlux:Slots]] | [[Category:ProtoFlux:Slots]] |
Latest revision as of 02:00, 10 February 2024
GetChild
Slots
Returns the children of a slot from its index.
Inputs
Instance (Slot)
The slot you want to find the child of.
ChildIndex (int)
The index of the children you want as an int.
Starts at 0.
Outputs
* (Slot)
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.