I saved a game and used it as a menu simulation. The menu simulation shows the quickbar and other player UI, which I don't want. How can I hide the UI?
This post says the solution is to save in editor mode, but I don't know how to do that.
Hide player UI for menu simulations
-
half a cat
- Long Handed Inserter

- Posts: 50
- Joined: Sun Jul 16, 2023 4:03 pm
- Contact:
Re: Hide player UI for menu simulations
Did you create the test player?
-
half a cat
- Long Handed Inserter

- Posts: 50
- Joined: Sun Jul 16, 2023 4:03 pm
- Contact:
Re: Hide player UI for menu simulations
Creating a test player in sim.init using game.simulation.create_test_player{name="test"} doesn't seem to do anything. I couldn't find any examples that use this function, so I may be using it incorrectly.
Re: Hide player UI for menu simulations
I saved the game after hiding the quickbar and everything else: https://lua-api.factorio.com/latest/con ... w_quickbar
-
half a cat
- Long Handed Inserter

- Posts: 50
- Joined: Sun Jul 16, 2023 4:03 pm
- Contact:
Re: Hide player UI for menu simulations
This part of the API doesn't seem to control GUI elements created by mods. I tried it out in the editor and it could hide almost everything. The Bob's Adjustable Inserters button on the top-left of the screen stays visible.Natha wrote: Fri May 08, 2026 10:19 pm I saved the game after hiding the quickbar and everything else: https://lua-api.factorio.com/latest/con ... w_quickbar

