Krotox Engine › Docs › Krotox Manual › The Editor

Keyboard shortcuts

Every editor shortcut, checked against the editor source: project and scene commands, editing, Play mode, scripting, gizmos, tile painting and level building.

Press F1 in the editor to open this list as a panel.

Project & scene

ActionShortcutNotes
Open projectCtrl+OWorks whichever panel has focus.
New sceneCtrl+N
Save sceneCtrl+SAlways saves the editor scene, so a Play-mode change can never leak into the file. In prefab edit mode it saves the prefab. If the write fails, a *Save Failed* toast appears and the scene stays marked unsaved.
Save scene asCtrl+Shift+S
Build SettingsCtrl+Shift+BOpens the build window (platform, scenes, Build and Build and Run).
Command paletteCtrl+PQuick search for commands and files.
ExitAlt+F4

Editing

ActionShortcutNotes
UndoCtrl+ZEdit mode only. Play-mode changes are never recorded.
RedoCtrl+Y or Ctrl+Shift+Z
Select allCtrl+AEvery entity in the hierarchy.
RenameF2Inline rename of the selected entity. In the Content Browser it renames the asset instead.
DuplicateCtrl+DClones the selection and all children with fresh IDs.
DeleteDeleteDestroys the whole selection. Works with the pointer anywhere, not only over the Viewport.
Bold / italic textCtrl+B / Ctrl+IToggles the style on selected text components. Does nothing when no selected entity has text.
Quick add shapeShift+AWith the pointer over the Viewport, in Edit mode.

Play mode

ActionShortcutNotes
Play / StopF5From Edit or Simulate it starts Play; during Play it stops and restores the scene.
Fullscreen playF11Plays the scene filling the window. From Edit or Simulate it also starts Play.
Leave fullscreenEscapeLeaves fullscreen and stops Play.
In the current build Ctrl+P also toggles Play as well as opening the command palette. Use F5 when you only want to play.

Scripting

ActionShortcutNotes
Compile C# scriptsF7Builds your game assembly. Errors appear in the Console.
Reload assemblyCtrl+RReloads the compiled scripts without restarting the editor (desktop). Requested during Play, it waits until Play stops.

Gizmos & Viewport

ActionShortcut
Select tool (no gizmo)Q
MoveW
RotateE
ScaleR
Frame the selectionF
PanMiddle mouse button + drag
ZoomScroll wheel

Plain R is the scale gizmo; Ctrl+R is assembly reload.

Tile Palette

These keys only work while the Tile Palette is open, in Edit mode, with no modifier held, so they never clash with the gizmo keys.

ToolKey
PaintB
LineL
Box fillU
Flood fillG
EyedropperI
EraseD
Flip brush horizontally / verticallyX / Y
Rotate brush 90°R
Leave paint modeEscape
Undo a whole strokeCtrl+Z

Undo removes a whole paint or erase stroke, box fill or flood fill at once, not one cell at a time.

Level building

ActionShortcut
Snap a Prefab Palette placement to the nearest tile or sprite cornerHold V
Snap the pivot handle to eighths of a unitHold Ctrl while dragging it
Free angle on the Angle Snap GizmoHold Shift while dragging the ring

Why a key sometimes does nothing