Skip to content

Editor Guide

The behavior tree editor provides a visual interface for creating and managing behavior trees.

  1. Open the behavior tree editor
  2. Click “New Behavior Tree”
  3. Enter a name for your tree
  4. Start adding nodes
  • Drag nodes from the palette to the canvas
  • Right-click on canvas to open context menu
  • Use keyboard shortcuts for quick access
  • Click and drag from a node’s output port
  • Drop on another node’s input port
  • Connections show execution flow
  • Select a node to view its properties
  • Configure parameters in the property panel
  • Use bindings to connect to blackboard variables

The blackboard panel allows you to:

  • Define variables used by the tree
  • Set initial values
  • Specify variable types
Variables:
- health: number = 100
- target: Entity = null
- isAlert: boolean = false
  • Save: Ctrl+S or File → Save
  • Export: Export as JSON for runtime use
  • Import: Load existing tree files
  • Use the play button to test execution
  • Watch node status in real-time
  • View blackboard values during execution
ShortcutAction
Ctrl+SSave
Ctrl+ZUndo
Ctrl+YRedo
DeleteRemove selected
Ctrl+CCopy
Ctrl+VPaste