Value (RGB) by input

Description The Value (RGB) by input node acts as a conditional color switch. It outputs one of two predefined RGB colors based on the state of a boolean input. This is a fundamental node for visual feedback, allowing you to dynamically change the color of LEDs, light fixtures, or UI elements depending on whether a condition (like a puzzle being solved) is met.
Use Cases
* Status Indicators: Connect a "Puzzle Solved" boolean to change a room's ambient lighting from red (RGB false) to green (RGB true).
* Feedback Loops: Use a touch sensor to toggle a crystal's glow between a dim idle color and a bright active color.
* Sequential Signaling: In a multi-step sequence, use this node to highlight the "active" button in a specific color while keeping the others in a "disabled" color.
Connectors in
- value [type: bool]: The toggle that determines which color is sent to the output.
- RGB true [type: rgb]: The color output when the input is True/1.
- RGB false [type: rgb]: The color output when the input is False/0.
Connectors out
- RGB [type: rgb]: The resulting color based on the current input state.
Node properties
- description [type: string]: A custom label for identifying the node's purpose in the graph.
- RGB false [type: rgb]: The default color for the False state.
- RGB true [type: rgb]: The default color for the True state.
- show description [type: bool]: Toggles the visibility of the description label on the node.
Connectors in
- value [type: bool]
- RGB true [type: rgb]
- RGB false [type: rgb]
Connectors out
- RGB [type: rgb]
Node properties
- description [type: string]
- RGB false [type: rgb]
- RGB true [type: rgb]
- show description [type: bool]