added Find Parent By Name ProtoFlux Node Page |
m YoshBot moved page ProtoFlux:Find Parent By Name to ProtoFlux:FindParentByName: Automated: removing spaces from ProtoFlux namespace |
(No difference)
|
Latest revision as of 23:52, 20 August 2025
Find Parent By Name
Slots
Finds a parent object above Instance (Slot) that matches the given arguments
Inputs
Instance (Slot)
The slot to scan for parent slots with.
Name (String)
The name to look for above Instance (Slot).
MatchSubstring (bool)
Whether to search for parents above Instance (Slot) that their name contains Name (String) instead of the entire name being equal.
IgnoreCase (bool)
Whether the capitalization should matter or not when searching for a parent above Instance (Slot).
SearchDepth (int)
How far to search for a parent with the provided search arguments
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 Name.