toggle_input(toggle)

enables or disables mouse input and blocks game input

if menu.is_open() then
   ImGui.toggle_input(true)
else
   ImGui.toggle_input(false)
end

Last updated