Skip to content
Tutorials Center
My learning

Topics

Lesson 5 of 36 ยท Editor and Scenes

A Tour of the Godot Editor: Docks, Viewports and Panels

Learn every major part of the Godot 4 editor: workspaces, Scene and FileSystem docks, Inspector, 2D/3D viewports, script editor, bottom panels, shortcuts and layout tips.

The Godot editor looks busy the first time, but it is organized around a handful of ideas. Once you know which dock does what, you can navigate any project quickly. This lesson names every part of the default layout, explains the four main workspaces and lists the shortcuts worth learning on day one.

The editor cannot run on this site, so this lesson describes it in words and diagrams. A small Python stand-in at the end models the "selected node shows its properties" behavior of the Inspector.

The default layout

flowchart TB
    subgraph Top["Top bar: menus, workspaces, play buttons"]
        direction LR
        W["2D | 3D | Script | AssetLib"]
    end
    subgraph Mid["Main area"]
        direction LR
        L["Left docks: Scene, FileSystem"] --> C["Center: viewport or script editor"] --> R["Right dock: Inspector, Node"]
    end
    subgraph Bot["Bottom panels"]
        direction LR
        B["Output, Debugger, Animation, Audio, Shader"]
    end
    Top --> Mid --> Bot

The four regions of the editor.

Top bar and workspaces

At the center of the top bar are the workspace buttons:

  • 2D: the 2D viewport, where you arrange sprites, UI and tile maps.
  • 3D: the 3D viewport with a perspective camera.
  • Script: the code editor with a list of open scripts and a built-in class reference.
  • AssetLib: browse and install free community assets.

At the right are the Play controls: Play (F5), Pause, Stop (F8), Play Scene (F6) and Play Custom Scene. Next to them is the renderer drop-down and, in some versions, a Run mode selector.

At the left are the menus: Scene, Project, Debug, Editor and Help. Project > Project Settings is where game-wide settings live. Help > Search Help (F1) opens the built-in documentation for every class, with no internet needed.

Scene dock

Top left. It shows the node tree of the scene you are editing. Here you add nodes (Ctrl+A), rename (F2), reorder by drag-and-drop, reparent and delete. Icons next to a node tell you something about it: a scroll means it has a script, a film clapper means a scene instance, an eye toggles visibility in the editor, and a lock prevents accidental selection.

FileSystem dock

Below the Scene dock. It lists the project folders under res://. You can create folders and scripts, drag a scene into the viewport to instance it, and move or rename files safely. Right-click a file for "Copy Path", "Open in File Manager" and dependency tools.

Inspector

The right dock. When a node is selected, the Inspector shows its properties, grouped by class: the properties of Node, then CanvasItem, then Node2D, then Sprite2D, from the most general to the most specific. Changing a property here is the same as setting it in a script. A small revert arrow appears when a value differs from the default. Next to the Inspector's tab is Node, which has Signals (connect events visually) and Groups.

Viewport

The center area. In 2D, use the mouse wheel to zoom, the middle mouse button (or Space + drag) to pan, and the toolbar at the top for Select (Q), Move (W), Rotate (E), Scale (S). The 3D viewport adds the usual fly camera: hold the right mouse button and use W A S D and Q E.

Bottom panels

Below the viewport is a tabbed area. You will use:

Panel What it does
Output print() messages and warnings
Debugger Errors, stack traces, profiler, video RAM and network monitors
Audio The audio mixer and buses
Animation The timeline editor for AnimationPlayer
Shader Editor Write visual or text shaders (when a material is selected)

The Script editor

Switch to Script (or double-click a script icon). The left list shows open scripts and the methods of the current one; the center is the editor with syntax coloring, auto-completion (Ctrl+Space), code folding, and Ctrl+click on a name to jump to its definition. Press F1 with the cursor on a class name and the built-in help opens right there.

Good habits:

  1. Read the warnings in the editor's gutter. Godot flags unused variables, shadowed names and untyped declarations.
  2. Use Ctrl+Shift+F to search the whole project.
  3. Use Ctrl+K to comment a line.

Shortcuts to learn first

Shortcut Action
Ctrl+A Add a node
Ctrl+S Save the current scene
Ctrl+Shift+S Save all
F5 / F6 / F8 Run project / scene / stop
Ctrl+D Duplicate the selected node
F2 Rename
Ctrl+Z / Ctrl+Y Undo / redo (per scene)
F1 Search help

Customizing the layout

Drag a dock's tab to another corner to rearrange the editor. Right-click a bottom panel tab to dock it left or right. Editor > Editor Layouts lets you save and restore layouts, such as one for coding and one for level design. Floating windows (the little pop-out button) are useful with two monitors. If the layout ever looks broken, choose Editor > Editor Layouts > Default.

Stand-in: the Inspector shows the selection

This is not Godot. It models how the Inspector lists properties from the general class down to the specific one for whichever node you select.

Python Stand-in (Python): properties by class

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which dock shows the properties of the selected node?

    The Inspector lists the selected node's properties, grouped by class.
  2. 2. Which key opens the built-in class documentation search?

    F1 opens Search Help. The reference works offline.
  3. 3. You pressed print() in a script. Where do you see the text?

    print() messages appear in the Output panel at the bottom.
  4. 4. How do you restore a messy editor layout?

    Editor Layouts lets you save, load and reset layouts without any reinstall.

Summary

  • The editor has four regions: top bar (workspaces and Play), left docks (Scene, FileSystem), the center viewport or script editor, and the right Inspector.
  • The Scene dock edits the node tree; the FileSystem dock manages res:// files; the Inspector edits properties.
  • Bottom panels (Output, Debugger, Animation, Audio) appear as you need them.
  • F1 opens offline docs; F5, F6 and F8 run and stop.
  • Layouts are customizable and resettable.

Next: Scenes and the Scene Tree