Closed Nividica closed 6 years ago
Due to limitations with custom inputs, it appears the Escape key can not be attached to / listened for by mods.
Escape the event can not be attached, but you can set your gui to opened for player (http://lua-api.factorio.com/latest/LuaControl.html#LuaControl.opened) and then by pressing the ESC key, your gui will close.
Due to limitations with custom inputs, it appears the Escape key can not be attached to / listened for by mods.