ProtoFlux:Get Active UserRoot: Difference between revisions

From Resonite Wiki
add getactiveuserroot
 
improve Get Active UserRoot ProtoFlux Node Page
 
(4 intermediate revisions by 2 users not shown)
Line 11: Line 11:
]
]
|}}
|}}
Get active user root gets the closest parent [[Type:UserRoot|UserRoot]] of the provided Instance ([[Slot|Slot]])
== Inputs ==
=== Instance ([[Slot|Slot]]) ===
The slot to check for an active UserRoot.
== Outputs ==
=== * ([[Type:UserRoot|UserRoot]]) ===
The closest parent user in the hierarchy of Instance ([[Slot|Slot]]).
== Examples ==
<gallery widths=480px heights=480px>
File:Protoflux_example_get_active_userroot.webp|Example of a get active user root node showing the head slot of who's holding a box. The code is displayed off to the side, un-parented from the box.
</gallery>


[[Category:ProtoFlux:Slots]]
[[Category:ProtoFlux:Slots]]
[[Category:ProtoFlux:Users:UserRoot]]

Latest revision as of 02:57, 10 February 2024

Get Active User Root
Instance
*
Slots

Get active user root gets the closest parent UserRoot of the provided Instance (Slot)

Inputs

Instance (Slot)

The slot to check for an active UserRoot.

Outputs

* (UserRoot)

The closest parent user in the hierarchy of Instance (Slot).

Examples