Skip to content
Loom0.1.0
Source

Overview

Loom is a scripting language for Unreal Engine that compiles to ordinary Blueprint assets. You write each Blueprint as a text file, such as BP_Counter.lm, and the Loom editor plugin compiles it whenever you save.

Unreal
5.6+
Platform
Windows · Linux
Latest
0.1.0

A short function in Loom, and the Blueprint it becomes:

Clamp
fn Clamp(x: int, lo: int, hi: int) -> int {
if x < lo {
return lo
}
if x > hi {
return hi
}
return x
}
The Clamp Blueprint graph: the entry node, two Branch nodes each fed by a comparison, and three Return nodes, one for each return in the source.
The Blueprint graph Loom makes from it, with the nodes lined up by hand for this page.
  1. You write BP_Counter.lm, a text file in your project’s Content folder. It is the source.
  2. When you save it, the Loom plugin compiles it inside the Unreal editor. If something is wrong, the Message Log says what, under Loom.
  3. You get the BP_Counter Blueprint beside it, which is packaged and loaded like any other.

The output is an ordinary Blueprint, so it runs wherever Blueprints run, with no Loom runtime and no engine changes. The plugin is only needed in the editor. The graph it generates isn’t meant to be read or edited by hand: the .lm file is the source, in the same way you read C++ rather than the machine code it compiles to.

Larger programs

Functions, loops, arrays and structs that would be impractical to wire by hand. The examples go as far as a whole game written in Loom.

Source control
Diff, review, merge and search Blueprint logic like any other code.
Coding agents

Agents read and write Loom like any other text, and the plugin’s MCP server lets them check their work. See Coding agents.

Next steps