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

Object Tool (Object Select Edit Mode)

The primary object manipulation edit mode - handles selection, transform gizmos, copy/paste, duplication, rectangle selection, and surface alignment.

The primary object manipulation edit mode - handles selection, transform gizmos, copy/paste, duplication, rectangle selection, and surface alignment.


Overview

Implements the objectSelect edit mode, the default editing mode in the World Editor. Provides click/rectangle selection, translate/rotate/scale gizmos, drag-to-duplicate, copy/paste clipboard, surface alignment (Ctrl+Alt+Click), and extensive preference registration for gizmos, snapping, and object icons.


Public Functions

FunctionSignatureDescription
M.onEditorInitialized()Registers the objectSelect edit mode, preferences, and context menu items
M.onEditorPreferenceValueChanged(path, value)Applies preference changes to C++ engine (gizmo settings, icons, snapping)
M.onEditorRegisterPreferences(prefsRegistry)Registers categories: gizmos, snapping with extensive sub-preferences
M.onEditorAxisGizmoAligmentChanged()Updates gizmo transform when alignment mode changes
M.onEditorInspectorFieldChanged(selectedIds, fieldName, fieldValue, arrayIndex)Handles TimeOfDay field changes
M.onEditorEditModeActivated(editMode)Restores gizmo state for the activated edit mode
M.onEditorEditModeDeactivated(editMode)Saves gizmo state when deactivating an edit mode

Registered API Functions

FunctionDescription
editor.updateObjectSelectionAxisGizmoUpdates gizmo position/orientation for current selection
editor.drawSelectedObjectBBoxDraws bounding box wireframe for a single object
editor.drawSelectionBBoxDraws a generic bounding box from a matrix
editor.duplicateSelectionAtCameraDuplicates selection and places at camera look-at point
editor.duplicateSceneObjectsDuplicates current selection (supports drag-duplicate)
editor.moveSelectionAtCameraMoves selection to camera look-at position

Edit Mode Shortcuts

ShortcutAction
Ctrl+C / Ctrl+VCopy / Paste objects
Ctrl+DDuplicate objects
DeleteDelete selected objects
Shift+DuplicateDuplicate at camera position
Shift+Drag GizmoDrag-and-duplicate
Ctrl+Alt+ClickAlign object to surface normal (mouse wheel rotates)

Preference Categories

CategorySub-CategoryKey Preferences
gizmosgeneraluseObjectBoxCenter, drawObjectIcons, lineThicknessScale, objectHoverHighlight
gizmosobjectIconsconstantSizeIcons, fadeIcons, iconBackgroundType, colors
gizmosbrushmarginSize, createBrushColor, deleteBrushColor
snappinggeneralsnapToGrid, gridSize, rotateSnapEnabled, rotateSnapSize
snappingterrainenabled, keepHeight, snapToCenter, relRotation

Notes

  • Vehicle selection renders reference node visualization (colored cylinders for axes).
  • Rectangle selection uses camera frustum culling for object detection.
  • Locked objects display a red bounding box and cannot be deleted (notification shown).
  • Prefab instances are selected at the top-level prefab unless already selected.

See Also

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

Editor News Message

Displays a one-time news/release-notes modal dialog when the World Editor opens after a new version.

Object To Spline Editor

Places copies of a selected object along a DecalRoad or MeshRoad spline with configurable spacing, offsets, and randomization.

On this page

OverviewPublic FunctionsRegistered API FunctionsEdit Mode ShortcutsPreference CategoriesNotesSee Also