RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
AI Debug DisplayCamera Mouse RaycastCommentDebug CylinderDebug LineDebug PrismDebug SphereDebug TextDisplay ValueDisplay FlowMulti GraphFlow ButtonLogMini GraphMulti FlowNumber SliderPause ExecutionRestart ProjectStop ProjectCategory Test (Test Dynamic)

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionsflowgraphnodesdebug

Flow Button

- **Name:** `Flow Button`

Overview

  • Name: Flow Button
  • Type: simple
  • Category: logic
  • File: lua/ge/extensions/flowgraph/nodes/debug/flowButton.lua
  • Pattern: Class-based (C = {}, returns _flowgraph_createNode(C))

Description

Displays a clickable button in the flowgraph editor that triggers an impulse flow output when pressed. Only works while the graph is running. The button label auto-updates when linked to another node.

Pin Schema

Input Pins

PinTypeDescription
flowflowInflow for this node

Output Pins

PinTypeDescription
flowflow (impulse)Fires once when the button is pressed

Behavior

  • drawMiddle() renders an ImGui button in the node body. Clicking it while the graph is running sets doTrigger = true.
  • work() outputs the trigger state on the flow pin and immediately resets it.
  • onLink() auto-names the button after the connected target pin name (or target node name if the pin is named 'flow').
  • onUnlink() resets the button label to "Push".

Properties

PropertyDefaultDescription
btnName"Push"Button label text

Tags

#flowgraph #node #ge #debug #button #input


Additional Exports

init(mgr, ...)

  • mgr - any

  • ... - any

  • type - string - (see source)

  • description - string - (see source)

  • category - string - (see source)

  • pinSchema - table - (see source)

  • tags - table - (see source)


See Also

  • AI Debug Display - Related reference
  • Camera Mouse Raycast - Related reference
  • Comment - Related reference
  • FlowGraph Guide - Guide

Multi Graph

- **Name:** `Multi Graph`

Log

- **File:** `extensions/flowgraph/nodes/debug/log.lua`

On this page

OverviewDescriptionPin SchemaInput PinsOutput PinsBehaviorPropertiesTagsAdditional Exportsinit(mgr, ...)See Also