ProtoFlux:GetSlotActive: Difference between revisions

From Resonite Wiki
Added Get Slot Active ProtoFlux Node Page
 
m fixed terminology. "property" --> "field"
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Get Slot Active
|Name=Get Slot Active
|Category=Slots
|Category=Info
|Inputs=
|Inputs=
[
[
Line 13: Line 13:


Get slot active is a ProtoFlux node that will check if Instance ([[Slot|Slot]])'s parent hierarchy or Instance ([[Slot|Slot]]) itself is disabled.
Get slot active is a ProtoFlux node that will check if Instance ([[Slot|Slot]])'s parent hierarchy or Instance ([[Slot|Slot]]) itself is disabled.
This Protoflux node does not update by itself on the Active field change. If you need to react to a Slot's activity dynamically, consider sourcing the Active field of the hierarchy's root Slot instead.


== Inputs ==
== Inputs ==
Line 28: Line 30:
== Examples ==
== Examples ==


<gallery widths=480px height=480px>
<gallery widths=480px heights=480px>
File:ProtoFlux_example_Get_Slot_Active_1.webp|An example of Get Slot Active being used in a code.
File:ProtoFlux_example_Get_Slot_Active_1.webp|An example of Get Slot Active being used in a code.
</gallery>
</gallery>
[[Category:ProtoFlux:Slots:Info]]

Latest revision as of 16:27, 25 August 2025

Get Slot Active
Instance
*
Info

Get slot active is a ProtoFlux node that will check if Instance (Slot)'s parent hierarchy or Instance (Slot) itself is disabled.

This Protoflux node does not update by itself on the Active field change. If you need to react to a Slot's activity dynamically, consider sourcing the Active field of the hierarchy's root Slot instead.

Inputs

Instance (Slot)

the slot to check for if itself or it's parent hierarchy is disabled.

Outputs

* (bool)

If Instance (Slot) itself or it's parent hierarchy is disabled.

Examples