ProtoFlux:Children Count: Difference between revisions

From Resonite Wiki
add childrencount
 
m grammar
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:


Returns the number of children of a [[Slot | slot]].
Returns the number of children of a [[Slot | slot]].
== Inputs ==
=== Instance ([[Slot | Slot]]) ===
The slot for read children count for.
== Outputs ==
=== * ([[Types:Int|Int]]) ===
The amount of children under the provided Instance ([[Slot | Slot]])
== Examples ==
<gallery widths=480px heights=480px>
File:ProtoFlux_example_Children_count.webp|An example code using children count.
</gallery>


[[Category:ProtoFlux:Slots]]
[[Category:ProtoFlux:Slots]]

Latest revision as of 03:03, 10 February 2024

Children Count
Instance
*
Slots

Returns the number of children of a slot.

Inputs

Instance ( Slot)

The slot for read children count for.

Outputs

* (Int)

The amount of children under the provided Instance ( Slot)

Examples