onDraw
Usage Example
Render an ImGui window at anytime:
registerForEvent('onDraw', function()
if ImGui.Begin('Window Title', ImGuiWindowFlags.AlwaysAutoResize) then
ImGui.Text('Hello World!')
end
ImGui.End()
end)Advanced Example
Render an ImGui window when the player is sprinting:
Last updated