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

Debug Text

- **Name:** `Debug Text`

Overview

  • Name: Debug Text
  • Category: repeat_instant
  • File: lua/ge/extensions/flowgraph/nodes/debug/debugText.lua
  • Pattern: Class-based (C = {}, returns _flowgraph_createNode(C))

Description

Draws debug text at a 3D world position with customizable text and background colors. Renders every frame while active.

Pin Schema

Input Pins

PinTypeDefaultDescription
posvec3-World position for the text
textany-Text content to display (converted via tostring)
colorTextcolor (hidden, hardcoded){1, 1, 1, 1}Text color (default white)
colorBGcolor (hidden, hardcoded){0, 0, 0, 0.75}Background color (default semi-transparent black)

Behavior

  • work() builds ColorF for text and ColorI for background (scaled to 0–255). Calls debugDrawer:drawTextAdvanced(pos, text, textColor, true, false, bgColor, false, false).
  • Text value is converted to string via tostring().

Key APIs Used

  • debugDrawer:drawTextAdvanced(pos, String, colorF, bool, bool, colorI, bool, bool)

Tags

#flowgraph #node #ge #debug #draw #text


Additional Exports

init()

  • name - string - (see source)

  • icon - any - (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

Debug Sphere

- **Name:** `Debug Sphere`

Display Value

- **Name:** `Display Value`

On this page

OverviewDescriptionPin SchemaInput PinsBehaviorKey APIs UsedTagsAdditional Exportsinit()See Also