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

Shortcut Legend

Displays a context-sensitive keyboard/mouse shortcut legend bar at the bottom of the editor, showing all available shortcuts for the current edit mode.

Displays a context-sensitive keyboard/mouse shortcut legend bar at the bottom of the editor, showing all available shortcuts for the current edit mode.


Public API

FunctionSignatureDescription
M.onEditorInitialized()Registers modifier name mappings and shows the legend window
M.onEditorGui()Renders the shortcut legend bar with styled key badges
M.onEditorEditModeChanged(oldEditMode, newEditMode)Triggers action list refresh on mode change

Shortcut Sources

  1. Mode-specific legend: If edit mode provides getLegendCurrentActionNames(), those are displayed
  2. Action map bindings: Falls back to scanning keyboard/mouse bindings for the edit mode's action map
  3. Auxiliary shortcuts: Merged from editor.editMode.auxShortcuts table

Modifier Names

FlagDisplay
AuxControl_CtrlCtrl
AuxControl_ShiftShift
AuxControl_AltAlt
AuxControl_LMBLMB
AuxControl_MMBMMB
AuxControl_RMBRMB
AuxControl_MWheelMouseWheel
AuxControl_LMB_DragLMB Drag
AuxControl_CopyCtrl C
AuxControl_PasteCtrl V
AuxControl_DeleteDelete

Usage Example

-- The shortcut legend is always visible when the editor is active.
-- It automatically updates when switching edit modes.

-- Custom edit modes can provide shortcuts:
editor.editModes.myMode = {
  auxShortcuts = {
    [editor.AuxControl_LMB] = "Place Object",
    [editor.AuxControl_Ctrl + editor.AuxControl_LMB] = "Multi-select",
    ["G"] = "Toggle Grid",
  },
}

Notes

  • Renders as a horizontal bar with rounded key badges
  • Automatically wraps to next line when shortcuts exceed window width
  • Centers shortcuts when total width is less than available space
  • Sorted alphabetically by control key name

Functions

onExtensionLoaded()

Callback for extension loaded event.

Additional Exports

  • M.onExtensionLoaded

See Also

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

Shape Editor

Interactive 3D shape viewer and editor - supports detail level inspection, render flag toggling, node hierarchy viewing, material highlighting, LOD generation, sequence animation, and Collada/Wavefron

Sidewalk Spline Editor

Editor tool for placing sidewalk meshes along splines - uses mesh kits with base pieces and variations, supports distribution control (round-robin/random with weights), terrain conforming/terraforming

On this page

Public APIShortcut SourcesModifier NamesUsage ExampleNotesFunctionsonExtensionLoaded()Additional ExportsSee Also