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 Line

- **Name:** `Debug Line`

Overview

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

Description

Draws a debug line in the 3D world between two points with a specified color. Renders every frame while active.

Pin Schema

Input Pins

PinTypeDefaultDescription
posAvec3-Start position of the line
posBvec3-End position of the line
colorcolor (hidden, hardcoded){0.91, 0.05, 0.48, 0.5}Line color (default pink)

Behavior

  • work() checks that both posA and posB are provided. Creates a ColorF from the pin value or uses default pink. Calls debugDrawer:drawLine(posA, posB, color).

Key APIs Used

  • debugDrawer:drawLine(vec3, vec3, colorF)

Tags

#flowgraph #node #ge #debug #draw #line


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 Cylinder

- **Name:** `Debug Cylinder`

Debug Prism

- **Name:** `Debug Prism`

On this page

OverviewDescriptionPin SchemaInput PinsBehaviorKey APIs UsedTagsAdditional Exportsinit()See Also