ProtoFlux:Get Component Enabled: Difference between revisions

From Resonite Wiki
Create Get Component Enabled ProtoFlux Node Page
 
cleanup
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Get Component Enabled is a ProtoFlux node Takes an [[Type:IComponent|IComponent]] and gets if it's enabled or not.
{{#Invoke:ProtoFlux|GenerateUI
|Name=Get Component Enabled
|Category=Components
|Outputs=
[
{"Name":"*", "Type":"bool"}
]
|Inputs=
[
{"Name":"Component", "Type":"IComponent"}
]
|}}
 
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 13: 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>
[[Category:ProtoFlux:Components]]
File:Protoflux_examples_Get_Component_Enabled.webp|Using Get Component Enabled to check if an equipped tool's component is enabled.
</gallery>
[[Category:ProtoFlux:Colors:Packing]]

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.