This is a basic guide on how to create a UI with XML. In XML you are not able to create logic, but you could refer to logic - i will show you how. But first i will show you how you are able to create some basic XML design. First we will need a .lua file - we need to process the XML stuff, and this is only possible in lua. So let's create a lua file: ```lua local basalt = require("basalt") -- as always we will need basalt local main = basalt.createFrame() -- and atleast 1 base frame is needed basalt.autoUpdate() -- starting the event and draw handler is also needed ``` The code above you are just not able to do in XML, you are not able to create base frames and you are also not able to start the event/draw handlers. This can only be done in Lua. In Basalt XML Code will always be loaded into frames. Which means all the objects created in XML are always childrens of that particular frame. Here is a example to show what i mean: Lua: ```lua local basalt = require("basalt") local main = basalt.createFrame():addLayout("example.xml") basalt.autoUpdate() ``` XML: ```xml