Find Parent By Tag
Slots
Finds a parent object above Instance (Slot) that matches the given Tag (String).
Inputs
Instance (Slot)
The slot to scan for parent slots from.
Tag (String)
The tag to look for above Instance (Slot).
SearchDepth (int)
How far to search for a parent with a tag that matches the given Tag (String).
Examples: 0 > Search immediate parent. 1 > Search parent of slot and it's next parent. -1 > Search all the way to Root (CAN BE 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 Parent By Tag.