ProtoFlux:Find Child By Tag

From Resonite Wiki
Find Child By Tag
Instance
*
Tag
SearchDepth
Slots

Finds a child object below Instance (Slot) that matches the given Tag (String).

Using this node to search the entire root in ProtoFlux that tries to evaluate every frame will generate considerable frame lag. If searching the root has to be done, put the result into a cached variable (Data Model Store) rather than searching every game tick.

Inputs

Instance (Slot)

The slot to scan for child slots from.

Tag (String)

The tag to look for below Instance (Slot).

SearchDepth (int)

How far to search for a child with a tag that matches the given Tag (String).

Examples: 0 > Search immediate children. 1 > Search children of slot including those slot's children. -1 > Search infinitely far down (HEAVY)

Outputs

* (Slot)

The result of the search.

Examples