Bablo ResourcesDocs

Keybinds

The Keybinds tab of the Map Workshop lets every editor choose their own keys for the camera, editing and tools. Click a key to change it, or + to add a second one. Changes save on the spot and follow your account.

The keys are per player. Changing yours does not change anyone else’s.


Actions and default keys

Camera

ActionWhat it doesDefault keys
ForwardFly the camera forwardW
BackFly the camera backS
LeftStrafe leftA
RightStrafe rightD
UpRiseE, Arrow Up
DownDescendQ, Arrow Down
FastHold to fly fasterLeft Shift, Right Shift
SlowHold to fly slowerLeft Alt, Right Alt

Editing

ActionWhat it doesDefault keys
UndoUndo the last changeCtrl + Z
RedoRedo what you undidCtrl + Y, Ctrl + Shift + Z
CopyCopy the selectionCtrl + C
CutCut the selectionCtrl + X
PastePaste at the cursorCtrl + V
DeleteDelete the selectionDelete
GroundSet the selection down on the ground below itShift + G
Gizmo modeSwitch the gizmo between move and rotateG

Tools

ActionWhat it doesDefault keys
FreecamToggle the free cameraF
CancelCancel placement or the active toolX

What the actions do in the editor is explained in Camera & Controls, Undo & Redo, Selecting & Editing Props and Move & Rotate Gizmo.


Changing a key

Each action has up to 3 keys.

ToDo
Change a keyClick the key. It shows Press a key…. Press the new key, holding Ctrl, Shift or Alt for a combination such as Ctrl + Q.
Change the first keyPress Rebind on the row.
Add a keyClick + next to the keys. Its tooltip reads Add another key. It is shown while the action has fewer than 3 keys.
Remove a keyHover the key and click the small ×. Its tooltip reads Remove this key. The last key of an action can’t be removed.
Stop without changingPress Esc or Cancel.
  • To bind Shift, Ctrl or Alt on its own, press it and let go without pressing another key.
  • Esc can’t be bound.
  • Every change is saved at once. If the server can’t save it, the key goes back to what it was and a notification says why, for example Your player identity is not loaded yet, try again in a moment.

When one key matches two actions, the one with more modifier keys wins. That is why Shift + G runs Ground, not Gizmo mode.


Conflicts

A key that another action already uses is refused. Nothing changes, and a red badge shows for a moment, for example Already used by Undo.

Keys that two actions share are shown in red: Two actions share this key. Change one of them. This can happen when you reset an action to a default key that another action uses by now.


Resetting

  • Reset on a row puts that action back to its default keys. It is greyed out while the action has its default keys.
  • Reset all at the top puts every action back to its default keys. It is greyed out while nothing is changed.

Fixed keys

The Fixed group lists keys that can’t be changed here: These belong to the mouse or to GTA itself. Free cursor is a FiveM key mapping — change it in the game under Settings → Key Bindings → FiveM.

ActionWhat it doesKey shownBadge
ExitClose the editor, or back out of what is openESCFixed
Free CursorToggle the free cursorCAPSGTA settings
LookHold to look aroundRMBFixed
PlacePlace the propLMBFixed
BrushHold to keep placingHOLD LMBFixed
RotateRotate the ghostSCROLLFixed
HeightRaise or lower the ghostSHIFT+SCROLLFixed

The key shown is the label of that entry in Config.Keybinds. An entry you remove from Config.Keybinds shows — here. See Keybind hints.

The free cursor key

The free cursor is a FiveM key mapping. Each player finds it in the game under Settings → Key Bindings → FiveM as Map Editor: free cursor, with Caps Lock as the default. A player who picks another key there uses that key.

The label CAPS comes from Config.Keybinds, so it does not change when a player picks another key in the GTA settings.

The keys from this tab work while the cursor is free, which is how the editor opens. When you hide the cursor with the free cursor key, the camera moves with the GTA movement controls instead. See Camera & Controls.


Where the keys are saved

The keys are saved on the server, in the bablo_mapeditor_keybinds table, under the identifier of the character: the citizen ID on QBCore and Qbox, the identifier on ESX. They load each time the editor opens, so they follow the player to any computer. Only the actions that differ from the default are stored. Reset all removes the player’s row.

Without a loaded character the keys can’t be saved: Your player identity is not loaded yet, try again in a moment. The editor then uses the default keys.


The hint bar

The hint bar under the top bar of the editor shows the entries of Config.Keybinds, in that order. Each entry has an id, which picks its text, and a key, which is the label on the key.

LUA
Config.Keybinds = {
    { id = 'exit', key = 'ESC' },
    { id = 'move', key = 'WASD' },
    { id = 'updown', key = 'Q/E' },
    -- ...
    { id = 'gizmo_mode', key = 'G' },
    { id = 'ground', key = 'SHIFT+G' },
}

For these entries the bar shows the player’s own first key from this tab instead of the label:

EntryShows the first key of
moveForward, Left, Back and Right
updownDown and Up
fastFast
slowSlow
gizmo_modeGizmo mode
groundGround
place_cancelCancel
freecamFreecam

The other entries always show the label from Config.Keybinds. See Keybind hints.