ProtoFlux:Get Component Enabled: Difference between revisions

From Resonite Wiki
Create Get Component Enabled ProtoFlux Node Page
cleanup
 
Line 4: Line 4:
|Outputs=
|Outputs=
[
[
{"Name":"Component", "Type":"IComponent"}
{"Name":"*", "Type":"bool"}
]
]
|Inputs=
|Inputs=
[
[
{"Name":"*", "Type":"bool"}
{"Name":"Component", "Type":"IComponent"}
]
]
|}}
|}}


Get Component Enabled is a ProtoFlux node Takes an [[Type:IComponent|IComponent]] and gets if it's enabled or not.
The '''Get Component Enabled''' is a ProtoFlux node that takes an [[Type:IComponent|IComponent]] and gets if it's enabled or not.


== Inputs ==
== Inputs ==
Line 26: Line 26:
Whether the provided Component ([[Type:IComponent|IComponent]]) is enabled or not.
Whether the provided Component ([[Type:IComponent|IComponent]]) is enabled or not.


== Examples ==
 
<gallery widths=480px heights=480px>
File:Protoflux_examples_Get_Component_Enabled.webp|Using Get Component Enabled to check if an equipped tool's component is enabled.
</gallery>
[[Category:ProtoFlux:Components]]
[[Category:ProtoFlux:Components]]

Latest revision as of 04:44, 18 April 2025

Get Component Enabled
Component
*
Components

The Get Component Enabled is a ProtoFlux node that takes an IComponent and gets if it's enabled or not.

Inputs

Component (IComponent)

The IComponent to check the enabled field for.

Outputs

* (bool)

Whether the provided Component (IComponent) is enabled or not.