API ReferenceGE Extensionsflowgraphnodestypes
Bool (Flowgraph Node)
- **Node Name:** `Bool`
Overview
- Node Name:
Bool - Category:
provider - File:
extensions/flowgraph/nodes/types/bool.lua
Provides a constant boolean value.
Pin Schema
Output Pins
| Pin | Type | Description |
|---|---|---|
value | bool | The boolean value |
Data Properties
| Property | Type | Default | Description |
|---|---|---|---|
value | bool | true | The boolean to output |
Behavior
init()- Setsdata.valuetotrue.work()- Outputsdata.valueto thevaluepin.drawMiddle()- Displays"true"or"false"in the node body.
How It Works
A simple constant provider. Toggle the value in the properties panel.
-- Outputs self.data.value each frame
-- Change in properties panel or via data bindingSee Also
- Color (Flowgraph Node) - Related reference
- Generic Set/Get Variable (Flowgraph Node) - Related reference
- Get Variable (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide