Features & Kits and editor extensions
Enable, build and create Features and Kits in the Features & Kits window, and extend the editor with menu entries, toolbar buttons, Details rows, dock panels and viewport modes.
A Feature is an engine-level capability (a platform SDK, an importer, an editor utility); a Kit is gameplay built on top of Features. Both are folders with a manifest (.mfeature or .mkit) that can carry content, runtime modules and editor modules. This page covers the Features & Kits window, where you turn them on and off, build and create them, and the EditorFramework module that editor Features use to add to the editor. How they load and package is covered in Programming.
The Features & Kits window
Window ▸ Features & Kits (editor.panel.open.FeaturesAndKits, also in the command palette as Open Features & Kits) opens the window as a document beside the level. The Asset Browser's Manage Features & Kits... opens it too.
| Part | What it shows |
|---|---|
| Restart banner | While a change waits for a restart, how many entries changed and which level the editor will reopen |
| Toolbar | The Features and Kits tabs, search, the Built-in, Project and Marketplace filters, New Feature..., New Kit..., Build and Restart now |
| Build progress | While an entry builds: its name, the build's own file counter, a bar and Cancel |
| List | One row per entry: check box, icon, name, the first sentence of its description, its modules as name (type) (a Kit also lists the Features it uses), and a status |
The status reads building, restart (what is ticked differs from what is loaded), blocked (a dependency or engine version keeps it from loading, with the reason in red), beta, or where the entry comes from with its version (built-in · 1.2, project, marketplace, engine feature).
One tab lists one kind. The filters combine inside a tab: Built-in is Engine/Features or Engine/Kits, Project is <Project>/Features or <Project>/Kits, Marketplace is an entry whose manifest names a marketplaceUrl. Search matches name, author, category and description.
The engine's feature modules (AI and Navigation, Narrative, Voice Chat, Sequencer, Destruction, Procedural Content Generation and the rest) are listed on the Features tab as built-in rows in the Engine Features category. Their switch is the project's: it decides what the game loads and packages. The editor itself keeps every feature module registered, so their asset editors open whatever the switch says, and a feature row has no Build entry because it builds with the engine. See Writing a Feature or Kit for the defaults.
Enabling and disabling
The check box writes <Name> to the [Features] or [Kits] section of <Project>/Config/Features.ini, which overrides the manifest's enabledByDefault. Ticking an entry also ticks what it depends on; unticking one that others depend on warns that they stop loading. A Feature never depends on a Kit.
Content mounts and unmounts immediately, and enabling an entry loads its modules at once. Disabling a project entry unloads its modules at once too, when no live object of its classes, no editor module and no other loaded entry still uses them; otherwise the banner says what holds it and the change waits for a restart. Built-in engine entries and feature modules always wait for a restart. Restart now relaunches the editor on the same project and level. With unsaved work it first asks, the way closing the editor does: Save All and Restart restarts only once everything is written (a Save As you cancel keeps the editor open), Don't Save restarts at once and Cancel keeps working.
Building
Build builds every ticked entry that has C++ modules, one after another; Build on a row builds one. Each module builds with mbt build -t <Module> --frozen-engine. Cancel stops the build and drops the queue. A failed module shows its first error line; the full output is in the log. New binaries load on the next start, not live.
Right-click a row for Enable / Disable, Build, Show in Explorer, Copy Name and, for a store entry, Open Store Page. Right-click the list for New Feature..., New Kit... and Clear Filters.
Creating a Feature or a Kit
New Feature... and New Kit... ask for the name, display name, author, category and description, and these choices: Location (Project or Engine), Content folder, Content only and, for a Feature, Editor module, Importer and Vendored library. A Kit is code or content only: no Editor module, importer or vendored library. The category must be one of the fixed categories (see Programming); anything else becomes Other. The name must be a valid C++ identifier and not already taken by a Feature or a Kit. Create Feature / Create Kit writes, for a project:
<Project>/Features/MyFeature/ (Kits/MyKit/ for a Kit)
MyFeature.mfeature manifest (MyKit.mkit for a Kit)
Assets/ with Content folder
Code/
MyFeature.Build.cs runtime module rules
Api/MyFeature/MyFeatureAPI.h the export macro
Api/MyFeature/MyFeatureModule.h
Impl/MyFeatureModule.cpp
MyFeatureEditor/ with Editor module: a "type": "Editor" moduleAn engine entry keeps its module files at the folder root instead of under Code/. The files come from the templates under Templates/TemplateResources/Feature and Templates/TemplateResources/Kit, which ship with the installed editor. Content only writes just the manifest and Assets/. Importer writes a module of type Uncooked that registers a sample import translator, so the editor and the cook load it and a package never does. Vendored library adds Code/ThirdParty/<Name>Lib, a source-built library the Feature carries. If several are on, Importer wins over Vendored library, which wins over Content only. Creating over an existing folder is refused. The new entry has no binary yet: build it with mbt build -t <Name>, then restart the editor. To declare reflected types, enable the header tool in the generated .Build.cs.
The window lists what discovery found. It does not download or update Features and Kits; Marketplace only filters by the manifest field.
Extending the editor
An editor module (manifest "type": "Editor") depends on the EditorFramework module (API). It loads only in the editor and never ships in a package.
| You want to add | Use |
|---|---|
| A menu entry in File, Edit, Tools, Window, Build or Help | FEditorExtensionRegistry::AddMenuEntry with an FEditorMenuExtension |
| A toolbar button, right of the play controls | FEditorExtensionRegistry::AddToolbarButton |
| Rows in a component's Details block, or a full replacement | FEditorExtensionRegistry::AddDetailsCustomization with an IEditorDetailsCustomization |
| A mode on the viewport's modes bar | FEditorExtensionRegistry::AddViewportMode with an IEditorViewportMode |
| A dockable panel, listed under Window | FEditorDockPanelRegistry with an FEditorDockPanelDesc |
| An asset editor document kind | FEditorPanelRegistry with an FEditorPanelDesc |
| A tool AI agents can call | FMcpToolRegistry; see MCP server |
Register in your module's InitializeModule and remove everything in ShutdownModule. Removal tells the editor to rebuild its menus, toolbar and Details view while your code is still loaded, so nothing the editor holds runs your code after the module unloads. A second registration with the same id or type replaces the first.
#include <EditorFramework/EditorExtensionRegistry.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
static const char* const kReimportId = "MyFeature.ReimportAll";
class FHealthDetails : public Mowo::IEditorDetailsCustomization {
public:
void AddRows(const Mowo::FDetailsCustomizationContext& context, std::vector<Mowo::FDetailsCustomRow>& rows) override {
Mowo::FDetailsCustomRow row;
row.Label = "Owner";
row.Value = context.Entity == Mowo::INVALID_ENTITY ? "none" : "selected entity";
rows.push_back(std::move(row));
}
};
void RegisterMyFeatureEditor() {
Mowo::FEditorMenuExtension entry;
entry.Id = kReimportId;
entry.Menu = Mowo::EEditorMenu::Tools;
entry.Label = "Reimport All Props";
entry.Execute = []() {
};
Mowo::FEditorExtensionRegistry& registry = Mowo::FEditorExtensionRegistry::Get();
registry.AddMenuEntry(std::move(entry));
registry.AddDetailsCustomization("HealthComponent", std::make_shared<FHealthDetails>());
}
void UnregisterMyFeatureEditor() {
Mowo::FEditorExtensionRegistry& registry = Mowo::FEditorExtensionRegistry::Get();
registry.RemoveMenuEntry(kReimportId);
registry.RemoveDetailsCustomization("HealthComponent");
}A Details customization edits its component through FDetailsCustomizationContext::EditComponent, which records the change as one undo entry; it is null when the component cannot be edited, such as in a play world. A viewport mode gets the same: FEditorViewportModeContext::EditComponent. Its pointer callbacks return true when they consume an event; an unconsumed press falls through to the camera. A mode can also take keys (OnKey) and the mouse wheel (OnPointerWheel), and report a gesture in progress (IsDragging): the editor then calls CommitDrag before it switches modes and CancelDrag when the gesture is abandoned, so a drag is never left half applied. All of them have default implementations, so a mode overrides only what it uses. Removing the active mode switches the viewport back to Select, which ends any gesture through the mode's OnExit.
Engine sources
This page describes behavior implemented in these files of the engine repository, checked against commit c5106b2de.
- Engine/Source/Editor/EditorFramework/Api/EditorFramework/EditorExtensionRegistry.h
- Engine/Source/Editor/EditorFramework/Api/EditorFramework/EditorPanelRegistry.h
- Engine/Source/Editor/EditorFramework/Api/EditorFramework/EditorViewportMode.h