RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Editor AI TestsEditor AI VisualizationEditor – Assembly Spline ToolAsset BrowserAsset DeduplicatorAsset Management ToolSFX Previewer (Audio Events List)Audio Ribbon EditorAutoSaveBarriers EditorBiome ToolBuilding EditorBulk RenameCamera BookmarksCamera TransformCamera Path EditorCEF HelperCo-Simulation Signal EditorCrawl Data EditorCreate Object ToolDataBlock EditorDecal EditorDecal Spline EditorDocumentation HelperDrag Race EditorDrift Data EditorDrive Path EditorDynamic Decals Tool (Vehicle Livery Creator)Engine Audio DebugExtensions DebugExtensions EditorFFI Pointer Leak TestFile DialogFlowgraph EditorForest EditorForest ViewEditor Gizmo HelperEditor Ground Model Debug HelperEditor Headless Editor TestEditor Icon OverviewEditor ImGui C DemoEditor InspectorEditor Layout ManagerEditor Level SettingsEditor Level ValidatorEditor LoggerEditor Log HelperEditor MainEditor Main MenuEditor Main ToolbarEditor Main UpdateMap Sensor EditorMaster Spline EditorMaterial EditorMeasures Inspector HeaderMesh Editor (Base)Mesh Road EditorMesh Spline EditorMission EditorMission PlaybookMission Start Position EditorMulti Spawn Manager (Vehicle Groups)Navigation Mesh EditorEditor News MessageObject Tool (Object Select Edit Mode)Object To Spline EditorParticle EditorPerformance Profiler / Camera RecorderPhysics ReloaderPrefab Instance EditorEditor PreferencesRace / Path EditorRally EditorRaycast Test Editor ToolRenderer Components Editor ToolRender Test Editor ToolResource Checker Editor ToolRiver EditorRoad Architect EditorRoad DecorationsRoad Editor (Decal Road)Road Network ExporterRoad River Cache HandlerRoad River GUIRoad Spline EditorRoad Template EditorRoad UtilitiesScene TreeScene ViewScreenshot Creator BootstrapScript AI EditorScript AI ManagerSensor Configuration EditorSensor DebuggerShape EditorShortcut LegendSidewalk Spline EditorSites EditorSlot Traffic EditorSuspension Audio DebugTech Server ManagerTerraform ToolTerrain And Road ImporterTerrain EditorTerrain Materials EditorText EditorTool ManagerTool ShortcutsTraffic DebugTraffic ManagerTraffic Signals EditorUndo History ViewerVehicle Bridge TestVehicle Detail ViewerVehicle Editor MainEditor - VisualizationEditor Viz HelperEditor Water Object HelperEditor Windows Manager

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 Extensionseditor

Create Object Tool

Editor tool for creating scene objects via toolbar groups. Provides categorized buttons (Environment, Level, BeamNG, Other Classes) with click-to-place creation, build functions for default field setu

Editor tool for creating scene objects via toolbar groups. Provides categorized buttons (Environment, Level, BeamNG, Other Classes) with click-to-place creation, build functions for default field setup, and custom class instantiation.


Public API (Module)

FunctionSignatureDescription
M.onEditorInitialized()Registers edit mode, toolbar, preferences, and group setup
M.onEditorRegisterPreferences(prefsRegistry)Registers createObjectTool.general preferences
M.onEditorDeactivated()Pops CreateObjectTool action map
M.onEditorGui()Pops action map when popup not open
M.initGroups()Initializes all create object group categories
M.selectClass()Triggers class selection in "Other Classes" popup
M.navigateList(up)Keyboard navigation in class list popup

Editor API (attached at init)

FunctionSignatureDescription
editor.addObjectCreateGroup(name, icon, classes)Register a custom create group
editor.getObjectCreateGroup(name)→ tableGet group by name
editor.getAllObjectCreateGroups()→ tableGet all create groups
editor.makeCreateObjectItem(icon, classname, title, buildFunc, singleInstance)→ tableBuild a toolbar item descriptor
editor.getObjectCreateItem(classname)→ tableFind create item by classname
editor.createObjectInstance(classname, createObjectItem)→ instanceCreate and register an object
editor.getCurrentSelectedParent()→ SimObjectGet current parent (selected SimSet or MissionGroup)
editor.createCustomClassObject(clsName, parentNode)→ instanceCreate any SimObject-derived class
editor.stopCreatingObjects()Exit create mode, return to select mode

Default Create Groups

GroupObjects
EnvironmentSkyBox, CloudLayer, ScatterSky, Sun, WaterBlock, SFXEmitter, SFXSpace, Precipitation, ParticleEmitterNode, PointLight, SpotLight, GroundCover, TerrainBlock, GroundPlane, WaterPlane
LevelSimGroup, Camera, LevelInfo, TimeOfDay, Zone, Portal, PlayerSpawnSphere, ObserverSpawnSphere, OcclusionVolume, TSStatic
BeamNGBeamNGTrigger, BeamNGBooster, BeamNGParking, BeamNGWaypoint, BeamNGEnvTrigger, BeamNGPointOfInterest, BeamNGGameplayArea
Other ClassesSearchable list of all SimObject-derived classes

Usage Example

-- Add a custom create group
editor.addObjectCreateGroup("Custom", editor.icons.star, {
  editor.makeCreateObjectItem(editor.icons.cube, "TSStatic", "My Shape", function(obj)
    obj:setField("shapeName", 0, "/path/to/shape.dae")
  end)
})

Notes

  • Click-to-place: object follows mouse cursor, click to place, Ctrl+scroll to rotate around up axis
  • singleInstance = true creates on button press only (no viewport click needed)
  • Hidden classes (MeshRoad, DecalRoad, River) shown disabled with "Use X Editor" tooltip
  • Build functions set initial fields and register them for undo/redo serialization
  • Preferences: infiniteCreateByClick, verticalToolbar, classFrecency (MRU tracking)

See Also

  • Editor AI Tests - Related reference
  • Editor AI Visualization - Related reference
  • Editor – Assembly Spline Tool - Related reference
  • World Editor Guide - Guide

Crawl Data Editor

Editor tool for creating and managing crawl gameplay data - trails, paths, boundaries, and starting positions used by the crawl game mode. Provides tabbed editing interface with separate edit modes fo

DataBlock Editor

Editor window for browsing, creating, deleting, and saving SimDataBlock objects. Provides a two-tab interface (Existing/New) with inspector integration.

On this page

Public API (Module)Editor API (attached at init)Default Create GroupsUsage ExampleNotesSee Also