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

Comment

- **Name:** `Comment`

Overview

  • Name: Comment
  • Category: logic
  • File: lua/ge/extensions/flowgraph/nodes/debug/comment.lua
  • Pattern: Class-based (C = {}, returns _flowgraph_createNode(C))

Description

Places a visual comment box into the flowgraph editor. Can group nodes together and supports customizable title, body text, colors, transparency, and move modes. This is a purely visual/organizational node with no pins or runtime logic.

Pin Schema

No pins - this node is editor-only.

Properties

PropertyTypeDescription
TitlestringComment header text
Alphafloat (0–1)Transparency of the comment box
Background Colorcolor (RGBA)Background fill color
Border Colorcolor (RGBA)Border color
Text Colorcolor (RGBA)Text color
SimpleboolSimplified rendering (no grouping area)
Move ModeenumwithNodes (grouped nodes move together) or withoutNodes

Behavior

  • No work() function - purely a visual element.
  • draw() renders the comment box using ImGui and the flowgraph editor API with customizable colors and grouping behavior.
  • drawCustomProperties() provides the editor UI for modifying all properties.
  • Serialization preserves size, colors, alpha, title, text, simple mode, and move mode.

Tags

#flowgraph #node #ge #debug #editor #comment #group


Additional Exports

init()

showProperties()

hideProperties()

refreshColors()

updateEditorPosition()

  • name - string - (see source)

  • description - string - (see source)

  • category - string - (see source)

  • tags - table - (see source)

  • pinSchema - table - (see source)


See Also

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

Camera Mouse Raycast

- **Name:** `Camera Mouse Raycast`

Debug Cylinder

- **Name:** `Debug Cylinder`

On this page

OverviewDescriptionPin SchemaPropertiesBehaviorTagsAdditional Exportsinit()showProperties()hideProperties()refreshColors()updateEditorPosition()See Also