API ReferenceGE Extensionsflowgraphnodesstates
State Entry (Flowgraph State Node)
- **Node Name:** `State Entry`
Overview
- Node Name:
State Entry - Type: State node (created via
_flowgraph_createStateNode) - File:
extensions/flowgraph/nodes/states/stateEntry.lua
Entry point for a stategraph. This is the starting node where execution begins when a state is entered.
Pin Schema
Output Pins
| Pin | Type | Description |
|---|---|---|
flow | state | State flow output - connects to the first state in the graph |
Node Properties
| Property | Value | Description |
|---|---|---|
hidden | true | Not visible in the node palette |
undeleteable | true | Cannot be deleted by the user |
uncopyable | true | Cannot be copied |
icon | "trending_down" | Downward arrow icon |
color | green (0.4, 1, 0.4, 1) | Green tint to indicate entry |
How It Works
- Every stategraph has exactly one State Entry node, automatically created.
- It cannot be deleted or duplicated - it's a structural node.
- The
stateflow output connects to the first state node in the graph. - When the stategraph is entered (via a state transition), execution begins from this node.
Key Dependencies
_flowgraph_createStateNode(C)- state node factory (differs from regular_flowgraph_createNode)
See Also
- State Exit (Flowgraph State Node) - Related reference
- State Node (Flowgraph Node) - Related reference
- Transition (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide