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

ProtoFlux:FindChildByTag

The Find Child By Tag node finds a child object below the instance (Slot) that matches the given Tag (String).
Find Child By Tag
Instance
*
Tag
SearchDepth
Slots

The Find Child By Tag node finds a child object below the instance (Slot) that matches the given Tag (String).

Using this node in a continuously evaluating chain will generate considerable frame lag, proportional to the number of children that have to be searched through. It is recommended to cache the result 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