Hiding the Left GUI

Post all other topics which do not belong to any other category.
Post Reply
RocketManChronicles
Filter Inserter
Filter Inserter
Posts: 347
Joined: Mon Aug 01, 2016 2:38 pm
Contact:

Hiding the Left GUI

Post by RocketManChronicles »

I cannot figure out how to hide the Left GUI (Mod Buttons) in the top left of the screen to allow me to see what the coordinates are for debugging purposes. Anyone know a Lua command or a key-binding to trigger these?

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Hiding the Left GUI

Post by orzelek »

I'd like to be able to do that too.
Needed to drop bunch of mods from save I was investigating to figure out the coords.

eduran
Filter Inserter
Filter Inserter
Posts: 344
Joined: Fri May 09, 2014 2:52 pm
Contact:

Re: Hiding the Left GUI

Post by eduran »

Not tested, but this should do it for most buttons. Replace "top" with "left" for gui elements along the left side.

Code: Select all

/c for _,chd in pairs(game.player.gui.top.children) do chd.visible = false end  --hide
/c for _,chd in pairs(game.player.gui.top.children) do chd.visible = true end  -- unhide
This would be better placed in one of the help forums instead of general discussion.

Post Reply

Return to “General discussion”