ProtoFlux:Get Component Enabled: Difference between revisions

From Resonite Wiki
Create Get Component Enabled ProtoFlux Node Page
 
Create Get Component Enabled ProtoFlux Node Page
 
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
|Name=Get Component Enabled
|Category=Components
|Outputs=
[
{"Name":"Component", "Type":"IComponent"}
]
|Inputs=
[
{"Name":"*", "Type":"bool"}
]
|}}
Get Component Enabled is a ProtoFlux node Takes an [[Type:IComponent|IComponent]] and gets if it's enabled or not.
Get Component Enabled is a ProtoFlux node Takes an [[Type:IComponent|IComponent]] and gets if it's enabled or not.


Line 17: Line 30:
File:Protoflux_examples_Get_Component_Enabled.webp|Using Get Component Enabled to check if an equipped tool's component is enabled.
File:Protoflux_examples_Get_Component_Enabled.webp|Using Get Component Enabled to check if an equipped tool's component is enabled.
</gallery>
</gallery>
[[Category:ProtoFlux:Colors:Packing]]
[[Category:ProtoFlux:Components]]

Latest revision as of 19:56, 24 February 2024

Get Component Enabled
*
Component
Components

Get Component Enabled is a ProtoFlux node 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.

Examples