Godot Engine Keyboard Shortcuts
Godot's entire project structure is built from scenes made of nodes, and its shortcut set reflects that architecture directly — most of what you'd call 'editing' shortcuts exist to manipulate nodes within the scene tree or the 2D/3D viewport rather than generic canvas or timeline operations you'd find in other engines. F5 to run the current project (or F6 for just the current scene) is the single shortcut every Godot developer uses constantly, since the fast edit-run-iterate loop is central to how the engine is meant to be used, and Godot's startup time is deliberately kept minimal to support that loop. Because GDScript is edited in Godot's own built-in script editor rather than an external IDE for most small-to-medium projects, that editor carries its own set of code-navigation and completion shortcuts that overlap with, but aren't identical to, what you'd expect from VS Code or a dedicated IDE. The Inspector panel, where a selected node's properties are viewed and edited, doesn't have its own dedicated toggle shortcut in most default configurations since it's expected to remain visible alongside the scene tree during most editing, but it does support tabbing between fields for fast sequential property entry. Godot's signal system, which lets nodes emit and connect to custom events without hardcoded references between them, is configured through a visual Connect dialog rather than a keyboard shortcut, reflecting that wiring up a signal connection is fundamentally a selection-and-confirmation task better suited to a dialog than a keystroke.
Scene Editing
| Action | Windows | Mac | Description |
|---|---|---|---|
| Add child node | Ctrl+A | — | Opens the Create New Node dialog to add a child node to the currently selected node in the scene tree, the fundamental building action in Godot's node-based scene composition. |
| Instance a child scene | Ctrl+Shift+A | — | Instances another saved scene as a child of the current one, letting you compose complex scenes out of smaller reusable pieces, a core pattern in Godot project architecture. |
| Duplicate selected node | Ctrl+D | — | Duplicates the selected node (and its children) within the scene tree, faster than manually recreating a similar node setup from scratch. |
| Open Node Signals tab | Inspector dock > Node tab > Signals | — | Opens the list of signals a selected node can emit, the starting point for connecting a custom event (like a button press) to a script function elsewhere in the scene. |
| Toggle Scene dock visibility | F1 (varies by layout) | — | Shows or hides the Scene dock displaying the current scene's node hierarchy, freeing up screen space when focused purely on the 2D/3D viewport or script editor. |
Running Debugging
| Action | Windows | Mac | Description |
|---|---|---|---|
| Run the project | F5 | Cmd+B | Launches the project starting from its designated main scene, the most-used shortcut in Godot given how central the fast iterate-and-test loop is to the engine's design philosophy. |
| Run current scene | F6 | Cmd+R | Runs only the scene currently open in the editor rather than the project's main scene, useful for testing an individual level or UI screen in isolation without navigating there through gameplay first. |
| Stop running project | F8 | Cmd+. | Stops the currently running project instance, returning focus to the editor. |
Script Editor
| Action | Windows | Mac | Description |
|---|---|---|---|
| Trigger code completion | Ctrl+Space | — | Opens autocomplete suggestions in the built-in GDScript editor, similar to code completion in general-purpose IDEs but scoped to GDScript and Godot's own API. |
| Go to function/symbol | Ctrl+Alt+F | — | Jumps directly to a specific function definition within the current script file, useful for navigating larger GDScript files without scrolling manually. |
| Comment/uncomment selected code | Ctrl+K | — | Toggles a line comment on the selected line(s) in the GDScript editor, standard convention shared with most code editors for quickly disabling code without deleting it. |
Frequently Asked Questions
What's the practical difference between running the project (F5) and running the current scene (F6)?
F5 always launches from whatever scene is set as the project's designated main scene in project settings, simulating how a player would actually start the game. F6 launches whichever scene is currently open in the editor directly, which is faster for testing an individual level, menu, or component in isolation without navigating to it through normal gameplay first.
Can I write GDScript in an external editor like VS Code instead of Godot's built-in one?
Yes — Godot supports external script editor integration, including a dedicated VS Code extension that adds GDScript syntax highlighting, debugging, and communicates with the Godot editor for features like jump-to-definition, though the built-in editor remains the default and is what most of the documented script-editor shortcuts here refer to.
Do keyboard shortcuts differ between Godot's 2D and 3D editing modes?
Scene-tree and running/debugging shortcuts are shared across both, but viewport navigation shortcuts differ meaningfully — 2D mode uses pan/zoom conventions suited to a flat canvas, while 3D mode adds orbit, first-person-style fly navigation, and different gizmo-manipulation shortcuts appropriate to a full 3D scene.
How does Godot's signal system relate to typical event listeners in other engines?
Signals function similarly to event/observer patterns in other engines or languages — a node emits a signal (like 'pressed' on a button) and any connected receiver's function runs in response — but Godot's Connect dialog lets you wire that connection visually by selecting the emitting node, the signal, and the target function, without hand-writing boilerplate listener-registration code.
Can I rearrange the editor's dock layout, and does that affect the documented shortcuts?
Yes, Godot's docks (Scene tree, Inspector, FileSystem, etc.) can be dragged and rearranged freely, and some users save custom layouts; toggle shortcuts for specific docks generally remain functional regardless of where you've repositioned that dock within the window.
Is there a shortcut to quickly comment out a block of GDScript code while debugging?
Yes — selecting the relevant lines and pressing Ctrl+K toggles line comments on or off for the whole selection at once, a standard convention for quickly disabling code temporarily without deleting it outright while tracking down a bug.
Does Godot support version control integration like Git within the editor?
Godot's project files are designed to be Git-friendly by default (using mostly text-based scene and resource formats), and while there's no deeply integrated Git panel built into the core editor, external Git tools work smoothly against a Godot project's file structure without special configuration.
Can I export a Godot project to mobile platforms like iOS and Android directly?
Yes, Godot supports exporting to iOS and Android among many other platforms through its export templates system, though mobile exports typically require additional platform-specific SDKs and signing configuration set up separately from the core editor before a build can be submitted to an app store.