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 Sphere

- **Name:** `Debug Sphere`

Overview

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

Description

Draws a debug sphere in the 3D world at a given position with a specified radius and color. Renders every frame while active.

Pin Schema

Input Pins

PinTypeDefaultDescription
posvec3-Position of the sphere
radiusnumber (hidden, hardcoded)1Radius of the sphere
colorcolor (hidden, hardcoded){0.91, 0.05, 0.48, 0.5}Sphere color (default pink)

Behavior

  • work() checks that pos is provided. Creates a ColorF from the pin value or uses default pink. Calls debugDrawer:drawSphere(pos, radius, color).

Key APIs Used

  • debugDrawer:drawSphere(vec3, radius, colorF)

Tags

#flowgraph #node #ge #debug #draw #sphere


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 Prism

- **Name:** `Debug Prism`

Debug Text

- **Name:** `Debug Text`

On this page

OverviewDescriptionPin SchemaInput PinsBehaviorKey APIs UsedTagsAdditional Exportsinit()See Also