Skip to content
Loom0.1.0
Source

Reference › Language

Editor Blueprints

Blueprints that run only in the editor.

Page
editor
Agent tool
docs editor

editor blueprint declares a Blueprint whose parent runs only in the editor, such as a validator. It may use the editor’s classes, and the game never loads it. A Blueprint that is not an editor Blueprint cannot have an editor-only parent.

An event that returns a value, such as a validator’s check, names its return type.

BP_NoEmptyNames.lm
editor blueprint BP_NoEmptyNames : EditorValidatorBase at /Game/BP_NoEmptyNames
on K2_CanValidateAsset(asset: Object) -> bool {
return asset != none
}

subsystem(Class) is the engine’s or the editor’s subsystem of that class.

BP_Tool.lm
editor blueprint BP_Tool : EditorUtilityObject at /Game/Checks/BP_Tool
fn Selected() -> int {
let assets = subsystem(EditorAssetSubsystem)
return 0
}