# ImGUI Editor – a visual editor for mimgui interfaces

> ImGUI Editor (LuaJIT ImGUI Editor): an open-source visual Dear ImGui editor for MoonLoader Lua scripts – drag elements with the mouse, export mimgui code. Released 2020.

- URL: https://pakulichev.com/en/projects/imgui-editor
- Author: Pakulichev (https://pakulichev.com/)
- Language: en
- Updated: 2026-10-15
- Whole site for LLMs: https://pakulichev.com/llms.txt (index), https://pakulichev.com/llms-full.txt (full text)

## Facts

- **Type:** Visual GUI editor
- **Platform:** Windows, portable
- **Written in:** C++ (Dear ImGui, DirectX 9)
- **Export:** Lua / mimgui
- **Version:** 0.0.1-Alpha
- **Released:** September 17, 2020
- **Source code:** open

**ImGUI Editor** (LuaJIT ImGUI Editor) is an open-source visual interface editor for MoonLoader Lua scripts. I released it on BLAST.HK on **September 17, 2020** as version **0.0.1-Alpha** and opened the source code the same day.


![ImGUI Editor 0.0.1 window: element toolbar, canvas and button properties](https://pakulichev.com/img/imgui-editor/imgui-editor-window.png "ImGUI Editor 0.0.1: elements on the left, the window in the middle, colours, position and size of the selected button on the right")

## What problem it solves

Interfaces for GTA: San Andreas scripts are written with Dear ImGui through the **mimgui** binding. Every window is laid out in code: you pick coordinates, sizes and paddings, then restart the script after every change. There's more on this in the article ["ImGui in GTA: San Andreas"](https://pakulichev.com/en/wiki/imgui-for-gta-sa).

In ImGUI Editor you build the window with the mouse, and the output is Lua code you can paste straight into your script.

## Features

You place elements by dragging them around the window. Version 0.0.1-Alpha has text, button, checkbox and input field, with up to 100 elements per window. The result is exported as Lua code for mimgui. The program is portable, so there's nothing to install.

Next on my list were resizing elements, fonts, and deleting and copying elements.

## Technologies

The editor is written in **C++** with **Dear ImGui** and **DirectX 9**, so the interface for ImGui is built with ImGui itself. Version 0.0.1-Alpha was the first test version.

## FAQ

### Which elements does ImGUI Editor support?

The first version, 0.0.1-Alpha, supports text, button, checkbox and input field – up to 100 elements in a single window.

### Do I need to install ImGUI Editor?

No, it's a portable Windows program: unpack the archive and start working.
