Skip to main content
Version: 4.3.0

Set Enabled

set enabled

Use Set Enabled to set or disable a component. Set Enabled is in the Utility category.

Input

NameData TypeDescription
EnterExecThe input execution that triggers this node.
ComponentComponentThe component to be enabled or disabled.
Enabled OnBooleanTrue for enabling the component, false for disabling the component.

Output

NameData TypeDescription
ExitExecExecute the next node.
EnabledBooleanThe status of the component. True for enabled, false for disabled.

Example

set enabled example

This example uses mouth open and close to enable/disable the blue Directional Light component.

set enabled node