Visual UI editor for MTA:SA. A complete tool to design interfaces and import layouts from Figma into Multi Theft Auto.
- Drag and drop elements directly onto the canvas
- Resize elements using handles
- Grid and snap system for precise alignment
- Zoom and pan for smooth navigation
- Real-time preview of changes
| Element | Description |
|---|---|
| Rectangle | Basic rectangular shape |
| Circle | Circular or elliptical shapes |
| Text | Text with font and style options |
| Button | Interactive buttons |
| Input | Input fields |
| Checkbox | Checkbox elements |
| Progress Bar | Progress indicators |
| Panel | Containers for grouping elements |
| Image | Image placeholders |
| Line | Lines and separators |
- Direct import using the Figma API
- Automatic conversion of Figma elements
- Supports colors, positions, and text
- Preserves element hierarchy
- MTA:SA (dxDraw) – Optimized Lua code for MTA
- Windows 10 or later
- .NET Framework 4.7.2
- Visual Studio 2022 (for building from source)
Download the latest version from: https://github.com/was547/MTAUIEditor/releases
git clone https://github.com/was547/MTAUIEditor.gitOpen MTAUIEditor.sln in Visual Studio 2022 and build the solution.
- Open MTA UI Designer
- Click File > New Project (Ctrl+N)
- Set the project name and resolution
- Start adding elements
- Click File > Import from Figma (Ctrl+I)
- Paste your Figma API key
- Paste the Figma project URL
- Optionally define the background element
- Click Import
- Select: Click the element
- Move: Drag the element
- Resize: Use the resize handles
- Properties: Edit via the right-side panel
- Duplicate: Ctrl+D
- Delete: Delete key
- Click File > Export (Ctrl+E)
- Choose the destination folder
- The entire package with
.lua,meta.xmland image assets file will be generated
| Shortcut | Action |
|---|---|
| Ctrl+N | New project |
| Ctrl+O | Open project |
| Ctrl+S | Save |
| Ctrl+I | Import from Figma |
| Ctrl+E | Export Lua |
| Ctrl+D | Duplicate element |
| Delete | Delete element |
| Ctrl+A | Select all |
| Ctrl+G | Toggle grid |
| Ctrl++ | Zoom in |
| Ctrl+- | Zoom out |
| Ctrl+0 | Reset zoom |
| Home | Center canvas |
| Arrow keys | Move element (1px) |
| Shift + Arrow keys | Move element (10px) |
| Middle mouse button | Pan canvas |
| Mouse wheel | Zoom |
This project is licensed under the MIT License.