Added Find Child By Tag ProtoFlux Node Page |
m YoshBot moved page ProtoFlux:Find Child By Tag to ProtoFlux:FindChildByTag: Automated: removing spaces from ProtoFlux namespace |
||
(One intermediate revision by one other user not shown) | |||
Line 14: | Line 14: | ||
|}} | |}} | ||
The '''Find Child By Tag''' node finds a child object below the instance ([[Slot|Slot]]) that matches the given [[Tag]] ([[Type:String|String]]). | |||
{{Template:Note| 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 ([[ProtoFlux:Data Model Store|Data Model Store]]) rather than searching every game tick.|warning}} | {{Template:Note| 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 ([[ProtoFlux:Data Model Store|Data Model Store]]) rather than searching every game tick.|warning}} |
Latest revision as of 23:52, 20 August 2025
Find Child By Tag
Slots
The Find Child By Tag node finds a child object below the instance (Slot) that matches the given Tag (String).
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
-
An example code finding slots under and above other slots in a list, one of the nodes is a Find Child By Tag.