Aller au contenu principal

Behavior Tree Keyboard Shortcuts

Master the Behavior Tree Editor with these keyboard shortcuts for faster workflow and increased productivity.

Editor Shortcuts (Blueprint Editor)

File Operations

ShortcutActionDescription
Ctrl+NNewCreate new behavior tree
Ctrl+OOpenOpen existing tree
Ctrl+SSaveSave current tree
Ctrl+Shift+SSave AsSave with new name
Ctrl+WCloseClose current tree

Edit Operations

ShortcutActionDescription
Ctrl+ZUndoUndo last action
Ctrl+YRedoRedo last undone action
Ctrl+CCopyCopy selected node(s)
Ctrl+XCutCut selected node(s)
Ctrl+VPastePaste copied node(s)
DeleteDeleteDelete selected node(s)
Ctrl+ASelect AllSelect all nodes
Ctrl+DDuplicateDuplicate selected node
ShortcutActionDescription
Space + DragPanPan the canvas
Mouse WheelZoomZoom in/out
Ctrl+0Reset ZoomReset zoom to 100%
Ctrl+FFindSearch for nodes
F (node selected)FrameFrame selected node in view
HomeFrame AllFrame entire tree in view

Node Operations

ShortcutActionDescription
AAdd SelectorAdd Selector node
SAdd SequenceAdd Sequence node
CAdd ConditionAdd Condition node
XAdd ActionAdd Action node
IAdd InverterAdd Inverter node
RAdd RepeaterAdd Repeater node
TabOpen Node MenuOpen node palette
Shift+AQuick AddQuick add node (context menu)

Connection Operations

ShortcutActionDescription
Drag from outputCreate ConnectionConnect parent to child
Right Click → lineDelete ConnectionRemove connection
Ctrl+LAuto LayoutAuto-arrange nodes

Properties

ShortcutActionDescription
EnterEdit PropertiesOpen properties panel for selected node
F2RenameRename selected node
EscapeDeselectDeselect all nodes

Validation & Testing

ShortcutActionDescription
Ctrl+Shift+VValidateValidate tree for errors
Ctrl+Shift+DOpen DebuggerOpen runtime debugger
F5Test in GameRun game with debugger attached

Debugger Shortcuts (Runtime)

These shortcuts work in the Behavior Tree Debug Window (separate window at runtime).

Window Control

ShortcutActionDescription
Ctrl+Shift+BToggle DebuggerOpen/close debugger window
Alt+F4Close WindowClose debugger window
F11Toggle FullscreenFullscreen debugger

Camera Control

ShortcutActionDescription
Mouse WheelZoomZoom in/out
+ or =Zoom InZoom in (120%)
-Zoom OutZoom out (80%)
0Reset ZoomReset zoom to 100%
Middle Mouse + DragPanPan the graph view
Space + DragPanPan the graph view (alternative)
HomeFit to ViewFrame entire tree
FCenter on SelectionCenter on selected entity's tree

View Options

ShortcutActionDescription
Ctrl+1Vertical LayoutSwitch to vertical (top-to-bottom) layout
Ctrl+2Horizontal LayoutSwitch to horizontal (left-to-right) layout
Ctrl+MToggle MinimapShow/hide minimap
Ctrl+GToggle GridShow/hide grid

Entity Selection

ShortcutActionDescription
Up ArrowPrevious EntitySelect previous entity in list
Down ArrowNext EntitySelect next entity in list
EnterCenter on EntityCenter graph on selected entity's tree
Ctrl+FFilter EntitiesFocus entity filter textbox
EscapeClear FilterClear entity filter

Panels

ShortcutActionDescription
Ctrl+EToggle Entity ListShow/hide entity list panel
Ctrl+IToggle InspectorShow/hide inspector panel
Ctrl+LToggle Execution LogShow/hide execution log
Ctrl+BToggle BlackboardShow/hide blackboard panel

Playback Control

ShortcutActionDescription
SpacePause/ResumePause/resume AI execution
NStep FrameAdvance one frame (when paused)
Shift+NStep NodeExecute one node (when paused)
Ctrl+RReset EntityReset selected entity's tree

Log Operations

ShortcutActionDescription
Ctrl+Shift+LClear LogClear execution log
Ctrl+C (log focused)Copy LogCopy log to clipboard
Ctrl+S (log focused)Save LogSave log to file

Context Menu Shortcuts

Node Right-Click Menu

ShortcutActionDescription
CAdd ChildAdd child node
DDuplicateDuplicate this node
EEdit PropertiesOpen properties
XDeleteDelete node
RRenameRename node
VValidateValidate this node

Canvas Right-Click Menu

ShortcutActionDescription
AAdd NodeOpen add node menu
PPastePaste copied nodes
LAuto LayoutAuto-arrange tree
FFit to ViewFrame entire tree

Multi-Selection

Selection Modifiers

ShortcutActionDescription
Ctrl+ClickAdd to SelectionAdd node to selection
Shift+ClickRange SelectSelect range of nodes
Ctrl+DragMulti-SelectBox select multiple nodes
Ctrl+Shift+ADeselect AllClear selection

Multi-Selection Operations

Once multiple nodes are selected:

ShortcutActionDescription
DeleteDelete AllDelete all selected nodes
Ctrl+CCopy AllCopy all selected nodes
Ctrl+DDuplicate AllDuplicate all selected nodes
Ctrl+GGroupCreate group from selection
Arrow KeysMoveMove all selected nodes

Advanced Shortcuts

Quick Node Creation

ShortcutNode TypeDescription
Shift+SQuick SelectorAdd Selector as child of selected
Shift+QQuick SequenceAdd Sequence as child of selected
Shift+CQuick ConditionAdd Condition as child of selected
Shift+XQuick ActionAdd Action as child of selected

Usage:

  1. Select parent node
  2. Press shortcut
  3. Node added and connected automatically

Node Traversal

ShortcutActionDescription
Alt+UpSelect ParentSelect parent node
Alt+DownSelect First ChildSelect first child node
Alt+LeftSelect Previous SiblingSelect previous sibling
Alt+RightSelect Next SiblingSelect next sibling

Clipboard History

ShortcutActionDescription
Ctrl+Shift+VPaste HistoryOpen paste history menu
Ctrl+Shift+CCopy with ChildrenCopy node and all descendants

Customizing Shortcuts

How to Change Shortcuts

  1. Open EditPreferencesKeyboard
  2. Search for command name
  3. Click shortcut field
  4. Press new key combination
  5. Click Apply

Resetting to Defaults

  1. Open EditPreferencesKeyboard
  2. Click Reset to Defaults
  3. Confirm reset

Tips for Efficient Workflow

1. Learn the Core Shortcuts First

Focus on these essential shortcuts:

  • Ctrl+S - Save often!
  • Ctrl+Z / Ctrl+Y - Undo/Redo
  • Space+Drag - Navigate canvas
  • Home - Frame all
  • Tab - Quick node access

2. Use Quick Add for Speed

Instead of opening the node palette:

  1. Right-click canvas
  2. Type node name (fuzzy search)
  3. Press Enter

Example: Right-click → type "sel" → Enter (adds Selector)

3. Keyboard-Only Node Creation

Fast workflow without mouse:

  1. Select parent → Shift+S (add Sequence child)
  2. Select new node → Shift+C (add Condition)
  3. Repeat for full branch

4. Use Frame Selected Often

  • Press F after adding nodes
  • Keeps focused on current work
  • Prevents getting lost in large trees

5. Master Pan and Zoom

  • Middle Mouse Drag - Pan quickly
  • Mouse Wheel - Precise zoom
  • Home - Reset view
  • 0 - Reset zoom

6. Use Validation Frequently

  • Ctrl+Shift+V - Validate before saving
  • Catches errors early
  • Prevents runtime issues

7. Leverage Multi-Selection

  • Ctrl+Click - Select related nodes
  • Ctrl+D - Duplicate entire branches
  • Arrow Keys - Move groups together

Platform-Specific Notes

Windows

  • Ctrl is the primary modifier
  • Alt for traversal shortcuts
  • All shortcuts as listed above

macOS

  • Cmd replaces Ctrl for most shortcuts
  • Option replaces Alt
  • Example: Cmd+S to save, Cmd+Z to undo

Linux

  • Ctrl as primary modifier (like Windows)
  • Some window managers may intercept certain shortcuts
  • Consider customizing conflicting shortcuts

Debugger-Specific Tips

Efficient Entity Navigation

  1. Ctrl+F - Open filter
  2. Type entity name
  3. Down Arrow - Select entity
  4. Enter - Center on tree
  5. Escape - Clear filter

Quick Layout Switching

  • Ctrl+1 - Vertical (better for deep trees)
  • Ctrl+2 - Horizontal (better for wide trees)
  • Switch layouts to see tree structure better

Zoom for Detail

  • + multiple times - Zoom in on specific node
  • 0 - Reset when done
  • Home - See full tree context

Quick Reference Card

Print or save this quick reference:

Essential Shortcuts

Save:           Ctrl+S
Undo/Redo: Ctrl+Z / Ctrl+Y
Pan: Space+Drag
Zoom: Mouse Wheel
Frame All: Home
Add Node: Tab or Shift+A
Debugger: Ctrl+Shift+D
Validate: Ctrl+Shift+V

Node Creation

Selector:   A or Shift+S
Sequence: S or Shift+Q
Condition: C or Shift+C
Action: X or Shift+X
Inverter: I
Repeater: R

Debugger Camera

Zoom In/Out:    +/-
Reset Zoom: 0
Pan: Middle Mouse Drag
Fit to View: Home
Layout: Ctrl+1 / Ctrl+2

Troubleshooting

Shortcut not working

Check:

  • ✅ Correct window has focus (editor vs. debugger)
  • ✅ No modal dialog is open
  • ✅ Shortcut not overridden by OS/window manager
  • ✅ Correct modifier key (Ctrl vs. Cmd on macOS)

Shortcut conflicts

Solutions:

  • Open EditPreferencesKeyboard
  • Search for conflicting commands
  • Reassign one of them
  • Or disable system shortcuts that conflict

Next Steps

Now that you know the shortcuts:

Additional Resources


Pro Tip: Print this page and keep it next to your monitor while learning. Most users master shortcuts within 1-2 weeks of regular use!