Camera & Controls
Bablo Map Editor is a flying camera with panels on top of the game. You fly through the world, click props and panels with the mouse, and your character waits where you left it. This page covers the camera, the keys and the bar at the top of the screen. Each tool has its own page.
Opening and closing
Open the editor with the command from Config.Command, /mapeditor by default:
/mapeditorThe command works as a switch: running it while the editor is open closes it. See Command.
Only editors can open it: players with the ACE in Config.AcePermission (mapeditor.use by default) and framework admins. Framework admins are QBCore players with the admin or god permission, Qbox players with admin, ESX players in the admin or superadmin group, and on every framework anyone with the command ACE. See Permission.
| Message | Why |
|---|---|
| You can’t open the map editor from a vehicle. | Leave the vehicle first. |
| You don’t have permission. | The player is not an editor. |
| You’re doing that too fast. | Too many editor requests in a short time, see Rate limit. |
| The map editor database isn’t ready. | The database tables are not set up yet, or setting them up failed. The server console says why. |
| The editor didn’t answer. If the resource just restarted, try again in a few seconds. | The server did not answer. |
To close the editor, run /mapeditor again, click the close button at the right end of the top bar, or press Esc until it closes.
What Esc does
Esc backs out one step at a time:
- It closes the right-click menu or the Transform panel.
- It stops a drag with the gizmo and puts the props back where they were.
- It puts away the prop you are placing and goes back to the Select tool.
- It leaves the active tool for Select.
- It clears the selection.
- It closes the editor. In fly mode it switches to cursor mode instead.
The Workshop and the World map window close first when they are open.
Your character
Your character stays where it stood when you opened the editor. While the editor is open, it:
- is frozen in place and can’t be hurt,
- is marked as busy for inventory scripts (the
invBusyandinv_busystate bags), - can’t use ox_target, when ox_target runs.
All of this is switched back when the editor closes.
The flying camera starts where the game camera was, looking the same way. The game loads the world around the camera, not around your character, and placed props stream in around the camera as you fly. Props you have selected stay loaded when you fly away from them. See Map Streaming & Sync.
Camera modes
The editor switches between three modes:
| Mode | How you get there | Mouse | What you can do |
|---|---|---|---|
| Cursor mode | The editor opens in it. Caps Lock or Esc from fly mode. | A free cursor. Hold the right mouse button to look around. | Everything: panels, the top bar, clicking props, the gizmo and every tool. |
| Fly mode | Caps Lock from cursor mode, or F from the game camera. | No cursor. The mouse looks around. | Fly, and place props with the Place tool, aimed at the middle of the screen. |
| Game camera | F from cursor mode or fly mode. | A free cursor, for the panels only. | The flying camera is off and the view is back on your character. The panels, the top bar and the editing keys work, clicks in the world do nothing. |
From the game camera, F turns the flying camera back on in fly mode, starting from the game camera. Buttons that move the camera, such as Teleport here in the Prop Browser, turn it back on as well.
In fly mode these keys work too:
| Key | Action |
|---|---|
F | Switch to the game camera. |
G | Switch the gizmo between Move and Rotate. |
Shift + G | Set On Ground for the selection. |
Esc | Back out one step, see What Esc does. |
Undo, copy, paste and the other editing keys only work in cursor mode and with the game camera.
Flying the camera
| Action | Cursor mode | Fly mode |
|---|---|---|
| Forward / back | W / S | W / S |
| Left / right | A / D | A / D |
| Up | E or ↑ | E or Space |
| Down | Q or ↓ | Q or Ctrl |
| Faster | Shift | Shift |
| Slower | Alt | Alt |
| Look around | Hold the right mouse button and move the mouse | Move the mouse |
The camera flies where it looks: W with the camera tilted down takes it down as well. E and Q always go straight up and down.
The cursor mode keys are the defaults of the Workshop’s Keybinds tab, where every editor can set their own, see Keybinds. Fly mode reads GTA’s own controls, so changes in that tab do not apply there.
While you type in a text field, such as the search box of the prop browser, the keys type and the camera stands still.
Config.FreecamSpeeds = { base = 14.0, fast = 6.0, slow = 0.25 }
Config.FreecamSensitivity = 16.0
Config.FreecamFov = 50.0| Setting | What it does |
|---|---|
base | The flying speed in metres per second: 14 m/s by default. |
fast | Shift multiplies the speed by this: 84 m/s by default. |
slow | Alt multiplies the speed by this: 3.5 m/s by default. |
Config.FreecamSensitivity | How fast the camera turns with the mouse. |
Config.FreecamFov | The field of view of the camera in degrees. |
See Freecam.
Looking around
In cursor mode, hold the right mouse button and move the mouse to turn the camera. The movement keys keep working while you look.
A short right click opens the right-click menu instead: release the button within 400 milliseconds and without moving the mouse more than 6 pixels. See Selecting & Editing Props.
Once the mouse has moved during a look, the cursor is hidden until you let go of the button, and then comes back to where you pressed it. Very small movements leave the cursor where it is:
Config.Input = {
lookDeadZone = 0.005, -- mouse movement above this while looking hides the cursor until the look ends (keep it between 0 and 0.02)
}See Camera look.
Free cursor key
Caps Lock switches between cursor mode and fly mode. It is a FiveM key binding named Map Editor: free cursor, so each player can change it in the game under Settings → Key Bindings → FiveM. It does nothing while the editor is closed or while you type in a text field.
The default key is set in the script, not in config.lua. The Workshop’s Keybinds tab lists Free Cursor under Fixed with the badge GTA settings, because it can only be changed there.
Key hint bar
A row of key hints sits under the top bar. It always shows every entry of Config.Keybinds, in the same order:
| Key shown | Hint |
|---|---|
ESC | Exit |
WASD | Move |
Q/E | Down / Up |
SHIFT | Fast |
ALT | Slow |
RMB | Look |
CAPS | Free Cursor |
LMB | Place |
HOLD LMB | Brush |
SCROLL | Rotate |
SHIFT+SCROLL | Height |
X | Cancel |
G | Gizmo mode |
SHIFT+G | Ground |
Config.Keybinds = {
{ id = 'exit', key = 'ESC' },
{ id = 'move', key = 'WASD' },
{ id = 'updown', key = 'Q/E' },
{ id = 'fast', key = 'SHIFT' },
{ id = 'slow', key = 'ALT' },
{ id = 'look', key = 'RMB' },
{ id = 'cursor', key = 'CAPS' },
{ id = 'place_confirm', key = 'LMB' },
{ id = 'place_brush', key = 'HOLD LMB' },
{ id = 'place_rotate', key = 'SCROLL' },
{ id = 'place_height', key = 'SHIFT+SCROLL' },
{ id = 'place_cancel', key = 'X' },
{ id = 'gizmo_mode', key = 'G' },
{ id = 'ground', key = 'SHIFT+G' },
}| Field | What it does |
|---|---|
id | Which hint to show. The text comes from hint.<id> in the language file. |
key | The key label in front of the hint. |
Remove a line to hide that hint, or move lines to change the order. One more hint exists that is not in the list: { id = 'freecam', key = 'F' } shows Freecam.
For Move, Down / Up, Fast, Slow, Gizmo mode, Ground, Cancel and Freecam, the bar shows the player’s own first key from the Keybinds tab, so key only sets the label of the other hints. See Keybind hints.
Top bar
The tool buttons are icons. Hover one to see its name.
| Part | What it does |
|---|---|
| Map Editor | The title, with your player name under it. |
| Select | Click and select placed props, then move them with the gizmo. See Selecting & Editing Props. |
| Place | Place props from the browser. See Placing Props. |
| Delete mode | Click props to remove them. See Delete Mode. |
| Box Select | Drag a box over the world to select props and catch GTA props. See Box Select. |
| Array | Repeat the selection in a row, grid, ring or rectangle. See Array Tool. |
| Fill | Fill an area on the ground with props. See Fill Tool. |
| Light | Place and edit lights. See Lights. |
| World map | Fly the camera to a spot on the map, see World map. |
| Move / Rotate | The gizmo shows arrows to move or rings to turn. G switches. See Move & Rotate Gizmo. |
| World / Local | Gizmo axes along the map, or turned with the selected prop. |
| Snap | Moves and turns go in steps. |
| Stick | Dragged props snap against their neighbours and the ground. |
| 3 selected | How many props are selected. Only shown while something is selected. |
| Current project | Your working map. Click it to switch, see Project switcher. |
| Saving… | Shown while changes are on their way to the server. |
| Workshop | Opens the Map Workshop, the panel for maps, placed props, categories and publishing. See Map Workshop. |
| Close button | Closes the editor. |
World map
The map button opens World map: Click anywhere on the map to fly there. Click a spot, the coordinates show at the top, then press Teleport. The camera moves there, not your character. It starts at a height of 400 metres and drops to 15 metres above the ground as soon as the ground there has loaded. Meanwhile the notice Loading the area… shows.
Esc, the close button or a click outside the map closes the window without moving. The Workshop has its own World Map tab that shows your props, see World Map.
Project switcher
Current project, at the right of the top bar, shows the name of your working map. Everything you place, adopt or erase is saved to it. Without a working map it reads No map selected, and placing gives No working map selected.
Click it to list every map. Maps that are switched off carry a Draft badge. Click a map to make it your working map.
To start a new map, type a name in New project… at the bottom of the list and press Enter or the plus button next to it. The new map starts switched off and becomes your working map right away. Names are 1 to 64 characters.
Each editor has their own working map. After joining the server it is the oldest map that is switched on. Maps are managed in the Map Workshop.

