imgui = require 'imgui'
resX, resY = getScreenResolution()
function imgui.OnDrawFrame()
imgui.SetNextWindowPos(imgui.ImVec2(resX / 2, resY / 2), imgui.Cond.FirstUseEver, imgui.ImVec2(0.5, 0.5))
imgui.Begin('Test window')
imgui.Text('Hello, world!')
imgui.End()
end
function main()
wait(-1)
end