Keyboard Shortcuts

Every keyboard and mouse shortcut in the Vastopia Editor, by editor, plus how to rebind the Map Editor keys in Settings.

11 min read

How shortcuts work in the editor#

The Vastopia Editor has two kinds of shortcuts:

  • Rebindable Map Editor keys. Edit modes, terrain tools, object tools, camera movement and placement rotation are all defined in one registry and can be changed in Settings ▸ Editor Settings... ▸ Keybinds. Every row in that tab corresponds to a row in the tables below.
  • Fixed shortcuts. Save, undo/redo, copy/paste, find, and the per-editor keys in the GUI, Script, Building, Data and Tools editors are built in and cannot be rebound.

A few rules apply everywhere:

  • Shortcuts that are plain letter keys (tool switching, rotation, floor selection) never fire while a text field has keyboard focus, so typing R into a name box does not switch tools. Click the viewport or press Escape to leave the field first.
  • Holding Ctrl is treated as "I am about to press a shortcut": in the Map Editor the camera stops responding to W/A/S/D while Ctrl is down, so Ctrl+S never nudges the view.
  • The same key can be shared by actions that never overlap. E and Q move the camera up and down in Terrain mode, but rotate the thing you are placing while a placement tool owns them.

Rebinding the Map Editor keys#

  1. Open Settings ▸ Editor Settings... from the top bar.
  2. Switch to the Keybinds tab. Actions are grouped into cards: Edit Modes, Terrain Tools, Object Tools, Camera and Placement.
  3. Click the key button next to an action. It changes to Press a key….
  4. Press the new key. Modifier keys on their own (Shift, Ctrl, Alt, Caps Lock) are ignored, so the capture waits for a real key. Press Escape to cancel.
  5. The change is saved and applied immediately; there is no OK button. The camera's W/A/S/D bindings are mirrored into the editor's input map at the same time so every consumer follows the rebind.

Click Reset to Defaults at the top of the tab to restore every Map Editor key at once. Keybinds are stored per machine in the editor's own settings file, not in your project, so they travel with your install rather than with the game.

Global shortcuts#

These work in every editor mode.

ShortcutAction
Ctrl+ZUndo in the current editor
Ctrl+Y or Ctrl+Shift+ZRedo in the current editor
Mouse side button (back)Go back through your editor and tab history, browser-style
Mouse side button (forward)Go forward through that history

Undo and redo are delegated to whichever editor is active: the Map Editor (per open map), the GUI Editor, the Building Editor, the Data Editor, the Script Editor and the Dialogue tool each keep their own history. An editor with nothing to undo simply does nothing.

The Edit menu in the top bar also lists Undo, Redo, Cut, Copy and Paste.

Map Editor#

Edit modes#

Default keyActionWhat it does
F1Terrain ModeSculpt and paint the ground, and edit height layers
F2Objects ModePlace instanced meshes, props and building prefabs
F3Region ModePlace NPCs, interactable objects, locations and walkability flags

Pressing the key of the mode you are already in does nothing except swallow the key.

Terrain tools#

Active in Terrain mode (including the height-layer tools). In Region mode these keys do nothing because that mode has its own toolbar.

Default keyActionWhat it does
RRaise / LowerSculpt tool that raises or lowers terrain
ZSmoothSmooth heights by averaging neighbors
HHeightFlatten terrain to a set height
XSlopePaint a gradient between two points
CPaint TextureReplace the texture under the brush
VSpray TextureBlend the texture in gradually
GAdd RegionAdd or remove terrain regions
UPaint AutoshaderEnable automatic slope/height texturing
OHolesCut or fill holes in the terrain
19 (or numpad)Pick texture slotWhile Paint Texture or Spray Texture is armed, selects texture slot 1–9 (the numbers match the badges on the texture tiles). Empty slots are ignored.

Modifier keys change what the terrain brush does while you paint:

ModifierEffect
Hold CtrlInvert the tool: lower instead of raise, remove a region instead of adding one, fill a hole instead of cutting. The toolbar's add/remove buttons flip to match.
Hold ShiftTemporarily switch to Smooth while sculpting (ignored while Ctrl is held)
Hold AltWith Raise / Lower: lift the floor of a stroke (raise) or flatten the peaks (lower) instead of adding height everywhere
Shift + mouse wheelChange the brush size
Alt + mouse wheelChange the brush strength

The Shift/Alt wheel shortcuts drive the same Terrain3D brush in Terrain mode and in Objects mode's Paint verb. In Region mode, Shift + wheel resizes the Flags brush; strength has no meaning there and is ignored.

Object tools#

Active in Objects mode.

Default keyActionWhat it does
TSelectPick a placed model to move, rotate or delete it
YAreaDrag a tile rectangle to delete everything in it or save it as a building
PPlacePlace one model you can select and move
BObjectPlace an interactive object, snapped to whole tiles
KBuildingStamp a saved building from the Library's Prefabs tab
IPaintScatter batched copies of a model with the brush

Editing shortcuts in Objects mode:

ShortcutAction
DeleteRemove whatever the Objects tools are holding: an area selection, a prop, a painted batch or an object
Ctrl+CCopy the area selection, or the single selected thing
Ctrl+VArm the clipboard; the next click in the viewport drops it
EscapeCancel an armed building stamp, an armed paste, or a prop placement (checked in that order)

Placement rotation#

Default keyActionApplies to
ERotate ClockwiseThe NPC, object, prop, armed paste or armed building stamp being placed
QRotate Counter-ClockwiseSame

Rotation steps depend on what you are turning: an NPC spawner preview turns in 45° steps (eight facings); a prop in the Objects tools turns 90° per press, and in object mode snaps to the nearest cardinal facing (North, East, South, West); an armed paste or building stamp turns a quarter turn in place so the copied arrangement keeps its shape. When the prop settings bar's rotation Random checkbox is on, Q/E are released back to the camera.

Region mode#

ShortcutAction
Hold Ctrl (Flags tool armed)Flip the brush between Paint: Unwalkable and Paint: Walkable. If the Ctrl press turns out to be a chord such as Ctrl+S, the flip is reverted so shortcuts never change the brush.
Hold Shift while dragging (Location tool)Deselect tiles for that stroke instead of selecting them
Ctrl+A (Location tool)Select every terrain tile
Ctrl+X (Select Tiles tool, with a selection)Delete the selected tiles' contents
Ctrl+SSave the current map

Camera#

The camera keys are rebindable under Camera in the Keybinds tab.

Default keyAction
WCamera Forward
SCamera Back
ACamera Left
DCamera Right
ECamera Up (ignored while a placement tool uses the key for rotation)
QCamera Down (ignored while a placement tool uses the key for rotation)

Mouse and modifier behaviour:

InputAction
Right-dragOrbit the camera. In the top-down (orthogonal) view, right-drag pans instead.
Middle-dragPan the camera
Mouse wheelZoom (moves along the view direction; in orthogonal view it changes the zoom size)
Trackpad pinchZoom
Hold ShiftSlow the camera for precise movement. Flying is fast by default.
Space while right-draggingMove up
Ctrl while right-draggingMove down

Camera speed, zoom speed, pan speed and zoom inversion are editor settings; the defaults are a move speed of 5 with Shift held and 20 without.

Building Editor#

The Building Editor reuses the Map Editor camera (right-drag orbit, middle-drag pan, wheel zoom, W/A/S/D). Tool shortcuts are suspended while the right mouse button is held so flying never triggers them.

ShortcutAction
Ctrl+S (or Cmd+S)Save the building to the project's prefab library
Ctrl+Z / Ctrl+Y / Ctrl+Shift+ZUndo / redo / redo (Cmd also works)
VSelect tool: pick a placed piece to move, rotate or delete
BPlace tool: click the grid to place the selected piece; drag for a run
XErase tool: click or drag over placed pieces to remove them
R or ERotate the armed piece (or the selection) 90° clockwise
QRotate 90° counter-clockwise
Delete or BackspaceDelete the selected pieces (Select tool); also works with the piece list focused
EscapeClear the selection; if nothing is selected, return to the Place tool; if already placing, disarm the piece
TToggle between perspective and top-down view
FFrame the whole building in the viewport
Page Up / Page DownGo up / down one floor
15Jump to floor 1–5 (only floors that exist in the plot)
Drag (Place tool, snapped)Lay a straight run of the piece; non-square pieces auto-orient along the drag
Shift + drag (Place tool, snapped)Fill the dragged rectangle, keeping the chosen orientation

The floor buttons in the side panel show their number shortcut in their tooltips.

GUI Editor#

Canvas shortcuts are ignored while a text field has focus, and arrow keys are left alone when a tree, list, tab bar, dropdown, scrollbar or slider owns the focus.

ShortcutAction
Ctrl+SSave the current interface
Ctrl+ZUndo
Ctrl+Y or Ctrl+Shift+ZRedo
Ctrl+CCopy the selected node
Ctrl+XCut the selected node
Ctrl+VPaste inside the selected node (as a child)
Ctrl+Shift+VPaste next to the selected node (as a sibling)
Ctrl+DDuplicate the selected node
DeleteDelete the selected node
F2Rename the selected node
Ctrl+]Raise the node one step in draw order
Ctrl+[Lower the node one step
Ctrl+Shift+]Bring to front
Ctrl+Shift+[Send to back
Arrow keysNudge the selection by 1 px
Shift + arrow keysNudge by one snap step (the Snap grid size spinner, 1–50 px, default 5 px)
VSelect mode
GMove mode
RRotate mode
LToggle Lock on the selected node
Ctrl+Shift+PPack Interfaces (pack all interfaces into a small PCK for quick testing)

Canvas mouse controls:

InputAction
Mouse wheel over the canvasZoom in / out at the cursor
Middle-dragPan the canvas
Shift + clickAdd or remove a node from the multi-selection
Drag on empty canvasMarquee-select; hold Shift to add to the existing selection

Script Editor#

ShortcutAction
Ctrl+SSave the open script
Ctrl+FOpen the find panel
Ctrl+HOpen find and replace, with focus in the replace box
Ctrl+PQuick open: type a file name, Up/Down to choose, Enter to open
EscapeClose the find panel
F2Rename the selected file or folder in the file tree (also in the right-click menu)

The undocked script window supports the same Ctrl+S, Ctrl+F, Ctrl+H and Escape shortcuts while it has focus.

Data Editor#

ShortcutAction
Ctrl+SSave the item, NPC, object or other definition in the active tab
Delete or Backspace (Animations tree)Delete the selected animation bases (built-in bases are protected)
Ctrl+D (VFX editor, node graph step)Duplicate the selected VFX node

Game Tools#

ShortcutAction
Ctrl+SSave the open loot table, or the open task when the Task editor is showing
Ctrl+Z / Ctrl+Y / Ctrl+Shift+Z (Dialogue editor)Undo / redo / redo changes to the open dialogue graph
Delete (Task editor tree)Delete the selected task or task folder

Quick reference by key#

The table below gathers the keys that do different things in different places, so you can see at a glance what a key will do where you are.

KeyMap Editor (Terrain)Map Editor (Objects)Map Editor (Region)Building EditorGUI Editor
RRaise / LowerRotate clockwiseRotate mode
VSpray TextureSelect toolSelect mode
XSlopeErase tool
BObject toolPlace tool
TSelect toolToggle perspective
E / QCamera up / downRotate placementRotate NPC placementRotate piece
DeleteDelete selectionDelete piecesDelete node
F2Rename node
EscapeCancel stamp / paste / placementClear selection / back to Place
19Texture slot (texture brushes)Floor 1–5

Everything in the Map Editor columns reflects the default bindings; if you have rebound keys, the Keybinds tab is the source of truth.

Spotted a mistake or something missing?Tell us on Discord